Home
last modified time | relevance | path

Searched refs:cmsg_level (Results 1 – 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c197 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 DmDNSUNP.c908 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 Drights.c415 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 Drecvmsg.c309 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 Dsocksubr.c970 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 Dping_aux6.c170 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 Dsctp.c296 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 Dcommon.c231 if (cmsg->cmsg_level == IPPROTO_IP && in find_ancillary()
H A Doutput.c228 cmsgp->cmsg_level = IPPROTO_IP; in sendtoif()
/illumos-gate/usr/src/test/os-tests/tests/oclo/
H A Doclo.c576 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 Dsocket.h462 int cmsg_level; /* originating protocol */ member
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_probe.c59 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 Dinput.c57 if (cmsg->cmsg_level == IPPROTO_IPV6 && in find_ancillary()
/illumos-gate/usr/src/boot/sys/sys/
H A Dsocket.h448 int cmsg_level; /* originating protocol */ member
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_input.c478 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 Dpacket.c996 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 Dminttl.c521 if (cmsg->cmsg_level != level || cmsg->cmsg_type != ttlopt) in ttl_check_ancil()
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-port.c78 cmp[0].cmsg_level = SOL_SOCKET; in sendfd()
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksctpsubr.c291 if ((cmsg->cmsg_level == IPPROTO_SCTP) && in sosctp_find_cmsg()
H A Dsocksctp.c2136 if ((cmsg->cmsg_level == IPPROTO_SCTP) && in sctp_assoc_recv()
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dsend.c894 if (cmsg->cmsg_level != SOL_RDS) in rdsv3_cmsg_send()
H A Drdsv3_impl.c1132 cp->cmsg_level = level; in rdsv3_put_cmsg()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c3161 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 Doptcom.c1958 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 Dndp.c87 if (cmsg->cmsg_level == IPPROTO_IPV6 && in find_ancillary()

12