Home
last modified time | relevance | path

Searched refs:sotype (Results 1 – 21 of 21) sorted by relevance

/netbsd/sys/fs/nfs/common/
H A Dnfs_diskless.c131 nd->sotype = SOCK_STREAM; in nfs_parse_options()
133 nd->sotype = SOCK_DGRAM; in nfs_parse_options()
267 nd3->root_args.sotype = SOCK_STREAM; in nfs_setup_diskless()
306 nd->root_args.sotype = SOCK_STREAM; in nfs_setup_diskless()
332 args.sotype = nd->root_args.sotype; in nfs_setup_diskless()
337 nd->root_args.sotype = args.sotype; in nfs_setup_diskless()
H A Dnfsdiskless.h79 int sotype; /* Socket type */ member
H A Dbootp_subr.c1203 args->sotype = SOCK_DGRAM; in mountopts()
/netbsd/sbin/mount_nfs/
H A Dmount_nfs.c141 .sotype = SOCK_STREAM,
314 nfsargsp->sotype = SOCK_DGRAM; in mount_nfs_parseargs()
321 nfsargsp->sotype = SOCK_STREAM; in mount_nfs_parseargs()
394 nfsargsp->sotype = SOCK_STREAM; in mount_nfs_parseargs()
412 nfsargsp->sotype = SOCK_DGRAM; in mount_nfs_parseargs()
493 nfsargsp->sotype, in shownfsargs()
H A Dgetnfsargs.c136 hints.ai_socktype = nfsargsp->sotype; in getnfsargs()
160 if (nfsargsp->sotype == SOCK_STREAM) { in getnfsargs()
H A Dgetnfsargs_small.c214 hints.ai_socktype = nfsargsp->sotype; in getnfsargs()
/netbsd/sys/nfs/
H A Dnfs_boot.c605 args->sotype = SOCK_DGRAM; in nfs_boot_getfh()
607 args->sotype = SOCK_STREAM; in nfs_boot_getfh()
657 (args->sotype == SOCK_STREAM) ? IPPROTO_TCP : IPPROTO_UDP, in nfs_boot_getfh()
662 if (args->sotype == SOCK_STREAM) { in nfs_boot_getfh()
663 args->sotype = SOCK_DGRAM; in nfs_boot_getfh()
H A Dnfs_syscalls.c602 int error = 0, cacherep, siz, sotype, writes_todo; in nfssvc_nfsd() local
727 sotype = slp->ns_so->so_type; in nfssvc_nfsd()
825 if (sotype == SOCK_STREAM) { in nfssvc_nfsd()
850 nfsd_rt(sotype, nd, cacherep); in nfssvc_nfsd()
1067 nfsd_rt(int sotype, struct nfsrv_descript *nd, int cacherep) in nfsd_rt() argument
1079 if (sotype == SOCK_STREAM) in nfsd_rt()
H A Dnfs_vfsops.c449 if (argp->sotype == SOCK_STREAM) in nfs_decode_args()
486 if (argp->sotype == SOCK_DGRAM) in nfs_decode_args()
547 adjsock |= ((nmp->nm_sotype != argp->sotype) || in nfs_decode_args()
549 nmp->nm_sotype = argp->sotype; in nfs_decode_args()
605 args->sotype = nmp->nm_sotype; in nfs_mount()
753 nmp->nm_sotype = argp->sotype; in mountnfs()
H A Dnfs_clntsocket.c106 int error, sotype, rcvflg; in nfs_receive() local
113 sotype = rep->r_nmp->nm_sotype; in nfs_receive()
123 if (sotype != SOCK_DGRAM) { in nfs_receive()
166 if (sotype == SOCK_STREAM) { in nfs_receive()
H A Dnfsmount.h56 int sotype; /* Socket type */ member
/netbsd/sys/fs/nfs/client/
H A Dnfs_clvfsops.c238 args->sotype = oargs->sotype; in nfs_convert_oargs()
591 if (argp->sotype == SOCK_STREAM) { in nfs_decode_args()
710 nmp->nm_sotype = argp->sotype; in nfs_decode_args()
720 nmp->nm_sotype = argp->sotype; in nfs_decode_args()
858 .sotype = SOCK_STREAM, in nfs_mount()
953 args.sotype = SOCK_DGRAM; in nfs_mount()
955 args.sotype = SOCK_DGRAM; in nfs_mount()
957 args.sotype = SOCK_STREAM; in nfs_mount()
962 args.sotype = SOCK_STREAM; in nfs_mount()
1251 args.sotype = SOCK_STREAM; in nfs_mount()
[all …]
/netbsd/sbin/umount/
H A Dumount.c441 nfsargs.sotype = SOCK_DGRAM; in getmntproto()
445 return nfsargs.sotype == SOCK_STREAM ? "tcp" : "udp"; in getmntproto()
/netbsd/external/bsd/am-utils/dist/libamu/
H A Dmount_fs.c811 plog(XLOG_DEBUG, "NA->sotype = %d", nap->sotype); in print_nfs23_args()
965 nap->sotype = SOCK_STREAM; in compute_nfs23_args()
967 nap->sotype = SOCK_DGRAM; in compute_nfs23_args()
/netbsd/sys/compat/ultrix/
H A Dultrix_fs.c388 na.sotype = SOCK_DGRAM; in ultrix_sys_mount()
/netbsd/sys/compat/linux/arch/alpha/
H A Dlinux_osf1.c263 bsd_na.sotype = SOCK_DGRAM; in osf1_mount_nfs()
266 bsd_na.sotype = SOCK_STREAM; in osf1_mount_nfs()
/netbsd/sys/compat/netbsd32/
H A Dnetbsd32.h1124 int32_t sotype; /* Socket type */ member
/netbsd/sys/compat/sunos/
H A Dsunos_misc.c263 na.sotype = SOCK_DGRAM; in sunos_sys_mount()
/netbsd/sys/compat/sunos32/
H A Dsunos32_misc.c454 na.sotype = SOCK_DGRAM; in sunos32_sys_mount()
/netbsd/external/bsd/am-utils/dist/
H A Dconfigure.ac1007 AMU_CHECK_FIELD(nfs_args_t.sotype)
H A DChangeLog12108 nfs_args's fields proto and sotype (bsdi3).
12111 nfs_args.flags for bsdi3. Set field proto to 0. Set sotype field