/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux6.c | 197 cmsgp->cmsg_level = IPPROTO_IPV6; in set_ancillary_data() 209 cmsgp->cmsg_level = IPPROTO_IPV6; in set_ancillary_data() 245 cmsgp->cmsg_level = IPPROTO_IPV6; in set_ancillary_data() 283 if (cmsg->cmsg_level == IPPROTO_IPV6 && in update_hoplimit_ancillary_data() 373 find_ancillary_data(struct msghdr *msg, int cmsg_level, int cmsg_type) in find_ancillary_data() argument 379 if (cmsg->cmsg_level == cmsg_level && in find_ancillary_data()
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/ |
H A D | mDNSUNP.c | 908 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags() 923 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags() 935 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags() 959 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags() 964 else if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags() 972 if (cmptr->cmsg_level == IPPROTO_IPV6 && in recvfrom_flags() 991 if (cmptr->cmsg_level == IPPROTO_IPV6 && in recvfrom_flags()
|
/illumos-gate/usr/src/test/os-tests/tests/sockfs/ |
H A D | rights.c | 415 cm->cmsg_level = SOL_SOCKET; in sendtest() 421 cm->cmsg_level = SOL_SOCKET; in sendtest() 581 printf(" >> : Got cmsg %x/%x - %u\n", cm->cmsg_level, in recvtest()
|
H A D | recvmsg.c | 309 cm->cmsg_level, cm->cmsg_type, cm->cmsg_len)); in servertest() 311 if (cm->cmsg_level != IPPROTO_IP) in servertest()
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksubr.c | 970 if (cmsg->cmsg_level == SOL_SOCKET && in so_closefds() 1056 if (cmsg->cmsg_level == SOL_SOCKET && in so_getfdopt() 1095 if (cmsg->cmsg_level == SOL_SOCKET && in so_optlen() 1134 if (cmsg->cmsg_level == SOL_SOCKET && in so_cmsg2opt() 1139 toh.level = cmsg->cmsg_level; in so_cmsg2opt() 1280 cmsg->cmsg_level = tohp->level; in so_opt2cmsg() 1297 cmsg->cmsg_level = tohp->level; in so_opt2cmsg() 1334 cmsg->cmsg_level = tohp->level; in so_opt2cmsg()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux6.c | 170 cmsgp->cmsg_level = IPPROTO_IPV6; in set_ancillary_data() 184 cmsgp->cmsg_level = IPPROTO_IPV6; in set_ancillary_data() 219 cmsgp->cmsg_level = IPPROTO_IPV6; in set_ancillary_data() 995 if (cmsg->cmsg_level == IPPROTO_IPV6) { in pr_ext_headers()
|
/illumos-gate/usr/src/lib/libsctp/common/ |
H A D | sctp.c | 296 if (cmsg->cmsg_level == IPPROTO_SCTP && in sctp_recvmsg() 328 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_send_common()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | common.c | 231 if (cmsg->cmsg_level == IPPROTO_IP && in find_ancillary()
|
H A D | output.c | 228 cmsgp->cmsg_level = IPPROTO_IP; in sendtoif()
|
/illumos-gate/usr/src/test/os-tests/tests/oclo/ |
H A D | oclo.c | 576 cm->cmsg_level = SOL_SOCKET; in oclo_rights_common() 609 if (cm->cmsg_level != SOL_SOCKET || cm->cmsg_type != SCM_RIGHTS) { in oclo_rights_common() 612 cm->cmsg_level, cm->cmsg_type, SOL_SOCKET, SCM_RIGHTS); in oclo_rights_common()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | socket.h | 462 int cmsg_level; /* originating protocol */ member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_probe.c | 59 static void *find_ancillary(struct msghdr *msg, int cmsg_level, 1331 find_ancillary(struct msghdr *msg, int cmsg_level, int cmsg_type) in find_ancillary() argument 1337 if (cmsg->cmsg_level == cmsg_level && in find_ancillary()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | input.c | 57 if (cmsg->cmsg_level == IPPROTO_IPV6 && in find_ancillary()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | socket.h | 448 int cmsg_level; /* originating protocol */ member
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_input.c | 478 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_input_add_ancillary() 512 cmsg->cmsg_level = IPPROTO_IPV6; in sctp_input_add_ancillary() 533 cmsg->cmsg_level = IPPROTO_IPV6; in sctp_input_add_ancillary() 547 cmsg->cmsg_level = IPPROTO_IPV6; in sctp_input_add_ancillary() 560 cmsg->cmsg_level = IPPROTO_IPV6; in sctp_input_add_ancillary() 576 cmsg->cmsg_level = IPPROTO_IPV6; in sctp_input_add_ancillary() 592 cmsg->cmsg_level = IPPROTO_IPV6; in sctp_input_add_ancillary() 608 cmsg->cmsg_level = IPPROTO_IPV6; in sctp_input_add_ancillary()
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | packet.c | 996 cmsg->cmsg_level = IPPROTO_IPV6; in send_pkt_internal() 1299 switch (cmsg->cmsg_level) { in sock_recvpkt()
|
/illumos-gate/usr/src/test/os-tests/tests/minttl/ |
H A D | minttl.c | 521 if (cmsg->cmsg_level != level || cmsg->cmsg_type != ttlopt) in ttl_check_ancil()
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-port.c | 78 cmp[0].cmsg_level = SOL_SOCKET; in sendfd()
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksctpsubr.c | 291 if ((cmsg->cmsg_level == IPPROTO_SCTP) && in sosctp_find_cmsg()
|
H A D | socksctp.c | 2136 if ((cmsg->cmsg_level == IPPROTO_SCTP) && in sctp_assoc_recv()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | send.c | 894 if (cmsg->cmsg_level != SOL_RDS) in rdsv3_cmsg_send()
|
H A D | rdsv3_impl.c | 1132 cp->cmsg_level = level; in rdsv3_put_cmsg()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/ |
H A D | vrrpd.c | 3161 cmsgp->cmsg_level = IPPROTO_IPV6; in vrrpd_send_adv_v6() 3169 cmsgp->cmsg_level = IPPROTO_IPV6; in vrrpd_send_adv_v6() 3497 assert(cmsgp->cmsg_level == IPPROTO_IPV6); in vrrpd_process_adv_v6()
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | optcom.c | 1958 optd = proto_opt_lookup(cmsg->cmsg_level, cmsg->cmsg_type, in process_auxiliary_options()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | ndp.c | 87 if (cmsg->cmsg_level == IPPROTO_IPV6 && in find_ancillary()
|