Home
last modified time | relevance | path

Searched refs:nfs_xprtp (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/bsd/am-utils/dist/conf/transp/
H A Dtransp_sockets.c249 create_nfs_service(int *soNFSp, u_short *nfs_portp, SVCXPRT **nfs_xprtp, void (*dispatch_fxn)(struc… in create_nfs_service() argument
259 if ((*nfs_xprtp = svcudp_create(*soNFSp)) == NULL) { in create_nfs_service()
264 if ((*nfs_portp = (*nfs_xprtp)->xp_port) >= IPPORT_RESERVED) { in create_nfs_service()
266 svc_destroy(*nfs_xprtp); in create_nfs_service()
270 if (!svc_register(*nfs_xprtp, NFS_PROGRAM, nfs_version, dispatch_fxn, 0)) { in create_nfs_service()
273 svc_destroy(*nfs_xprtp); in create_nfs_service()
H A Dtransp_tli.c423 create_nfs_service(int *soNFSp, u_short *nfs_portp, SVCXPRT **nfs_xprtp, void (*dispatch_fxn)(struc… in create_nfs_service() argument
438 *nfs_xprtp = svc_tli_create(RPC_ANYFD, nfsncp, NULL, 0, 0); in create_nfs_service()
439 if (*nfs_xprtp == NULL) { in create_nfs_service()
449 *soNFSp = (*nfs_xprtp)->xp_fd; in create_nfs_service()
452 svc_destroy(*nfs_xprtp); in create_nfs_service()
455 if (svc_reg(*nfs_xprtp, NFS_PROGRAM, nfs_version, dispatch_fxn, NULL) != 1) { in create_nfs_service()
457 svc_destroy(*nfs_xprtp); in create_nfs_service()
/netbsd-src/external/bsd/am-utils/dist/include/
H A Dam_utils.h386 extern int create_nfs_service(int *soNFSp, u_short *nfs_portp, SVCXPRT **nfs_xprtp, void (*dispatch…