bozo_rxsc[2] = (struct rx_securityClass *) rxkad_NewServerSecurityObject(
0, tdir, afsconf_GetKey, (char *) 0);
- /* These two lines disallow jumbograms */
- rx_maxReceiveSize = OLD_MAX_PACKET_SIZE;
- rxi_nSendFrags = rxi_nRecvFrags = 1;
+ /* Disable jumbograms */
+ rx_SetNoJumbo();
tservice = rx_NewService(/* port */ 0, /* service id */ 1,
/*service name */ "bozo", /* security classes */ bozo_rxsc,
afsconf_GetKey,
(char *) 0);
- /* These two lines disallow jumbograms */
- rx_maxReceiveSize = OLD_MAX_PACKET_SIZE;
- rxi_nSendFrags = rxi_nRecvFrags = 1;
+ /* Disable jumbograms */
+ rx_SetNoJumbo();
tservice = rx_NewService(0, BUDB_SERVICE, "BackupDatabase",
sca, 3, BUDB_ExecuteRequest);
sca[RX_SCINDEX_NULL] = rxnull_NewServerSecurityObject();
- /* These two lines disallow jumbograms */
- rx_maxReceiveSize = OLD_MAX_PACKET_SIZE;
- rxi_nSendFrags = rxi_nRecvFrags = 1;
+ /* Disable jumbograms */
+ rx_SetNoJumbo();
tservice =
rx_NewService (0, KA_AUTHENTICATION_SERVICE, "AuthenticationService",
}
else sc[2] = sc[0];
- /* These two lines disallow jumbograms */
- rx_maxReceiveSize = OLD_MAX_PACKET_SIZE;
- rxi_nSendFrags = rxi_nRecvFrags = 1;
+ /* Disable jumbograms */
+ rx_SetNoJumbo();
tservice = rx_NewService(0,PRSRV,"Protection Server",sc,3,PR_ExecuteRequest);
if (tservice == (struct rx_service *)0) {
exit(2);
}
if (!rxJumbograms) {
- rx_maxReceiveSize = OLD_MAX_PACKET_SIZE;
- rxi_nSendFrags = rxi_nRecvFrags = 1;
+ rx_SetNoJumbo();
}
rx_SetRxDeadTime(50);
}
if (!rxJumbograms) {
/* Don't allow 3.4 vos clients to send jumbograms and we don't send. */
- rx_maxReceiveSize = OLD_MAX_PACKET_SIZE;
- rxi_nSendFrags = rxi_nRecvFrags = 1;
+ rx_SetNoJumbo();
}
rx_GetIFInfo();
rx_SetRxDeadTime(420);