Home
last modified time | relevance | path

Searched refs:in_pktinfo (Results 1 – 16 of 16) sorted by relevance

/external/dnsmasq/src/
Ddhcp.c103 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in dhcp_packet()
151 iface_index = ((struct in_pktinfo*) CMSG_DATA(cmptr))->ipi_ifindex; in dhcp_packet()
152 if (((struct in_pktinfo*) CMSG_DATA(cmptr))->ipi_addr.s_addr != INADDR_BROADCAST) in dhcp_packet()
231 struct in_pktinfo* pkt; in dhcp_packet()
235 pkt = (struct in_pktinfo*) CMSG_DATA(cmptr); in dhcp_packet()
238 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in dhcp_packet()
Dforward.c35 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in send_from()
63 struct in_pktinfo* pkt = (struct in_pktinfo*) CMSG_DATA(cmptr); in send_from()
66 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in send_from()
515 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in receive_query()
562 ((struct in_pktinfo*) CMSG_DATA(cmptr))->ipi_spec_dst; in receive_query()
563 if_index = ((struct in_pktinfo*) CMSG_DATA(cmptr))->ipi_ifindex; in receive_query()
/external/ipsec-tools/src/racoon/
Dsockmisc.c474 struct in_pktinfo *pi = (struct in_pktinfo *)(CMSG_DATA(cm));
647 struct in_pktinfo *pi;
665 m.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo));
667 cm->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo));
670 pi = (struct in_pktinfo *)CMSG_DATA(cm);
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sock_addr.c971 struct in_pktinfo *pktinfo4; in init_pktinfo()
976 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in init_pktinfo()
977 pktinfo4 = (struct in_pktinfo *)CMSG_DATA(cmsg); in init_pktinfo()
978 memset(pktinfo4, 0, sizeof(struct in_pktinfo)); in init_pktinfo()
1007 char buf[CMSG_SPACE(sizeof(struct in_pktinfo))]; in sendmsg_to_server()
/external/strace/tests/
Dmsg_control.c539 const unsigned int len = CMSG_SPACE(sizeof(struct in_pktinfo)); in test_ip_pktinfo()
542 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in test_ip_pktinfo()
546 struct in_pktinfo *const info = (struct in_pktinfo *) CMSG_DATA(cmsg); in test_ip_pktinfo()
/external/strace/tests-m32/
Dmsg_control.c539 const unsigned int len = CMSG_SPACE(sizeof(struct in_pktinfo)); in test_ip_pktinfo()
542 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in test_ip_pktinfo()
546 struct in_pktinfo *const info = (struct in_pktinfo *) CMSG_DATA(cmsg); in test_ip_pktinfo()
/external/strace/tests-mx32/
Dmsg_control.c539 const unsigned int len = CMSG_SPACE(sizeof(struct in_pktinfo)); in test_ip_pktinfo()
542 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in test_ip_pktinfo()
546 struct in_pktinfo *const info = (struct in_pktinfo *) CMSG_DATA(cmsg); in test_ip_pktinfo()
/external/strace/
Dmsghdr.c127 const struct in_pktinfo *info = cmsg_data; in print_cmsg_ip_pktinfo()
224 [IP_PKTINFO] = { print_cmsg_ip_pktinfo, sizeof(struct in_pktinfo) },
DChangeLog27724 msghdr.c: fix printing of struct in_pktinfo.
27726 of struct in_pktinfo.ipi_addr.
/external/syzkaller/sys/linux/
Dsocket_inet.txt87 …n, level const[IPPROTO_IP], optname const[IP_PKTINFO], optval ptr[out, in_pktinfo], optlen ptr[ino…
88 …in, level const[IPPROTO_IP], optname const[IP_PKTINFO], optval ptr[in, in_pktinfo], optlen len[opt…
120 in_pktinfo {
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c580 struct in_pktinfo in recvfrom_flags() struct
589 struct in_pktinfo *tmp; in recvfrom_flags()
592 tmp = (struct in_pktinfo *) CMSG_DATA(cmptr); in recvfrom_flags()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtimestamping.c240 struct in_pktinfo *pktinfo = in printpacket()
241 (struct in_pktinfo *)CMSG_DATA(cmsg); in printpacket()
Dtxtimestamp.c208 struct in_pktinfo *info = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg()
/external/iproute2/include/uapi/linux/
Din.h222 struct in_pktinfo { struct
/external/kernel-headers/original/uapi/linux/
Din.h222 struct in_pktinfo { struct
/external/iputils/
Dping.c108 struct in_pktinfo ipi;
109 } cmsg = { {sizeof(struct cmsghdr) + sizeof(struct in_pktinfo), SOL_IP, IP_PKTINFO},