Home
last modified time | relevance | path

Searched refs:cmsg_type (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c198 cmsgp->cmsg_type = IPV6_HOPLIMIT; in set_ancillary_data()
210 cmsgp->cmsg_type = IPV6_RTHDR; in set_ancillary_data()
246 cmsgp->cmsg_type = IPV6_PKTINFO; in set_ancillary_data()
284 cmsg->cmsg_type == IPV6_HOPLIMIT) { in update_hoplimit_ancillary_data()
373 find_ancillary_data(struct msghdr *msg, int cmsg_level, int cmsg_type) in find_ancillary_data() argument
380 cmsg->cmsg_type == cmsg_type) { in find_ancillary_data()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dcommon.c225 find_ancillary(struct msghdr *msg, int cmsg_type) in find_ancillary() argument
232 cmsg->cmsg_type == cmsg_type) { in find_ancillary()
H A Doutput.c227 cmsgp->cmsg_type = IP_PKTINFO; in sendtoif()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DmDNSUNP.c909 cmptr->cmsg_type == IP_PKTINFO) { in recvfrom_flags()
924 cmptr->cmsg_type == IP_RECVDSTADDR) { in recvfrom_flags()
936 cmptr->cmsg_type == IP_RECVIF) { in recvfrom_flags()
960 cmptr->cmsg_type == IP_RECVTTL) { in recvfrom_flags()
965 … cmptr->cmsg_type == IP_TTL) { // some implementations seem to send IP_TTL instead of IP_RECVTTL in recvfrom_flags()
973 cmptr->cmsg_type == IPV6_PKTINFO) { in recvfrom_flags()
992 cmptr->cmsg_type == IPV6_HOPLIMIT) { in recvfrom_flags()
/illumos-gate/usr/src/test/os-tests/tests/sockfs/
H A Drights.c416 cm->cmsg_type = 0; in sendtest()
422 cm->cmsg_type = SCM_RIGHTS; in sendtest()
582 cm->cmsg_type, cm->cmsg_len); in recvtest()
585 if (cm->cmsg_type != SCM_RIGHTS) { in recvtest()
H A Drecvmsg.c309 cm->cmsg_level, cm->cmsg_type, cm->cmsg_len)); in servertest()
314 switch (cm->cmsg_type) { in servertest()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dinput.c51 find_ancillary(struct msghdr *rmsg, int cmsg_type) in find_ancillary() argument
58 cmsg->cmsg_type == cmsg_type) { in find_ancillary()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c182 cmsgp->cmsg_type = IPV6_HOPLIMIT; in set_ancillary_data()
196 cmsgp->cmsg_type = IPV6_RTHDR; in set_ancillary_data()
231 cmsgp->cmsg_type = IPV6_PKTINFO; in set_ancillary_data()
1029 switch (cmsg->cmsg_type) { in pr_ext_headers()
1049 Printf(" <option type %d>", cmsg->cmsg_type); in pr_ext_headers()
H A Dping.c2567 cmsg->cmsg_type == SO_TIMESTAMP && in ping_gettime()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocksubr.c950 cmsg->cmsg_type == SCM_RIGHTS) { in so_closefds()
1036 cmsg->cmsg_type == SCM_RIGHTS) { in so_getfdopt()
1075 cmsg->cmsg_type == SCM_RIGHTS) { in so_optlen()
1114 cmsg->cmsg_type == SCM_RIGHTS) in so_cmsg2opt()
1119 toh.name = cmsg->cmsg_type; in so_cmsg2opt()
1259 cmsg->cmsg_type = SCM_RIGHTS; in so_opt2cmsg()
1276 cmsg->cmsg_type = tohp->name; in so_opt2cmsg()
1313 cmsg->cmsg_type = tohp->name; in so_opt2cmsg()
/illumos-gate/usr/src/lib/libsctp/common/
H A Dsctp.c297 cmsg->cmsg_type == SCTP_SNDRCV) { in sctp_recvmsg()
329 cmsg->cmsg_type = SCTP_SNDRCV; in sctp_send_common()
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c997 cmsg->cmsg_type = IPV6_PKTINFO; in send_pkt_internal()
1301 switch (cmsg->cmsg_type) { in sock_recvpkt()
1319 switch (cmsg->cmsg_type) { in sock_recvpkt()
/illumos-gate/usr/src/uts/common/sys/
H A Dsocket.h459 int cmsg_type; /* protocol-specific type */ member
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_probe.c60 int cmsg_type);
1331 find_ancillary(struct msghdr *msg, int cmsg_level, int cmsg_type) in find_ancillary() argument
1338 cmsg->cmsg_type == cmsg_type) { in find_ancillary()
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dsend.c898 cmsg, rm, cmsg->cmsg_type); in rdsv3_cmsg_send()
903 switch (cmsg->cmsg_type) { in rdsv3_cmsg_send()
H A Drdsv3_impl.c1133 cp->cmsg_type = type; in rdsv3_put_cmsg()
/illumos-gate/usr/src/boot/sys/sys/
H A Dsocket.h449 int cmsg_type; /* protocol-specific type */ member
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dndp.c81 find_ancillary(struct msghdr *msg, int cmsg_type) in find_ancillary() argument
88 cmsg->cmsg_type == cmsg_type) { in find_ancillary()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_input.c479 cmsg->cmsg_type = SCTP_SNDRCV; in sctp_input_add_ancillary()
513 cmsg->cmsg_type = IPV6_PKTINFO; in sctp_input_add_ancillary()
534 cmsg->cmsg_type = IPV6_HOPLIMIT; in sctp_input_add_ancillary()
548 cmsg->cmsg_type = IPV6_TCLASS; in sctp_input_add_ancillary()
561 cmsg->cmsg_type = IPV6_HOPOPTS; in sctp_input_add_ancillary()
577 cmsg->cmsg_type = IPV6_RTHDRDSTOPTS; in sctp_input_add_ancillary()
593 cmsg->cmsg_type = IPV6_RTHDR; in sctp_input_add_ancillary()
609 cmsg->cmsg_type = IPV6_DSTOPTS; in sctp_input_add_ancillary()
/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.c79 cmp[0].cmsg_type = SCM_RIGHTS; in sendfd()
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksctpsubr.c292 (cmsg->cmsg_type == type)) { in sosctp_find_cmsg()
H A Dsocksctp.c2137 (cmsg->cmsg_type == SCTP_SNDRCV)) { in sctp_assoc_recv()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c3162 cmsgp->cmsg_type = IPV6_HOPLIMIT; in vrrpd_send_adv_v6()
3170 cmsgp->cmsg_type = IPV6_PKTINFO; in vrrpd_send_adv_v6()
3500 switch (cmsgp->cmsg_type) { 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()

12