mountd.c | 350 int udpsock, tcpsock, udp6sock, tcp6sock; local in function:mountd_main 438 tcpsock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 485 if (tcpsock != -1 && tcpconf != NULL) { 486 bind_resv_port(tcpsock, AF_INET, forcedport); 489 ipsecsetup(AF_INET, tcpsock, policy); 491 listen(tcpsock, SOMAXCONN); 492 tcptransp = svc_vc_create(tcpsock, RPC_MAXDATASIZE, 511 ipsecsetup(AF_INET6, tcpsock, policy); 531 ipsecsetup(AF_INET6, tcpsock, policy);
|