Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c546 zfs_share_proto_t *curr_proto; in zfs_is_shared() local
551 for (curr_proto = share_all_proto; *curr_proto != PROTO_END; in zfs_is_shared()
552 curr_proto++) in zfs_is_shared()
553 rc |= zfs_is_shared_proto(zhp, NULL, *curr_proto); in zfs_is_shared()
846 zfs_share_proto_t *curr_proto; in zfs_share_proto() local
867 for (curr_proto = proto; *curr_proto != PROTO_END; curr_proto++) { in zfs_share_proto()
871 if (zfs_prop_get(zhp, proto_table[*curr_proto].p_prop, in zfs_share_proto()
897 proto_table[*curr_proto].p_share_err, in zfs_share_proto()
908 proto_table[*curr_proto].p_name); in zfs_share_proto()
911 proto_table[*curr_proto].p_share_err, in zfs_share_proto()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_slp.c164 extern int dst_port, curr_proto; in interpret_slp()
173 if (flags & F_DTAIL && curr_proto == IPPROTO_TCP) { in interpret_slp()
689 extern int src_port, dst_port, curr_proto; in interpret_slp_v2()
700 if (curr_proto == IPPROTO_UDP && in interpret_slp_v2()
726 if (curr_proto == IPPROTO_TCP) in interpret_slp_v2()
765 extern int curr_proto, dst_port; in v2_header()
766 char *prototag = (curr_proto == IPPROTO_TCP ? "/tcp" : ""); in v2_header()
811 if (curr_proto == IPPROTO_TCP && in v2_header()
1401 extern int src_port, dst_port, curr_proto; in interpret_slp_v1()
1421 if (curr_proto == IPPROTO_UDP && in interpret_slp_v1()
[all …]
H A Dsnoop_rport.c312 int src_port, dst_port, curr_proto; variable
325 curr_proto = proto; in interpret_reserved()