Searched refs:in_pktinfo (Results 1 – 15 of 15) sorted by relevance
38 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in send_from()68 struct in_pktinfo *pkt = (struct in_pktinfo *)CMSG_DATA(cmptr); in send_from()71 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in send_from()593 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in receive_query()654 dst_addr_4 = dst_addr.addr.addr4 = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_spec_dst; in receive_query()655 if_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex; in receive_query()
125 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in dhcp_packet()183 iface_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex; in dhcp_packet()184 if (((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_addr.s_addr != INADDR_BROADCAST) in dhcp_packet()296 struct in_pktinfo *pkt; in dhcp_packet()300 pkt = (struct in_pktinfo *)CMSG_DATA(cmptr); in dhcp_packet()303 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in dhcp_packet()
474 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);
539 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()
123 const struct in_pktinfo *info = cmsg_data; in print_cmsg_ip_pktinfo()220 [IP_PKTINFO] = { print_cmsg_ip_pktinfo, sizeof(struct in_pktinfo) },
13080 msghdr.c: fix printing of struct in_pktinfo.13082 of struct in_pktinfo.ipi_addr.
580 struct in_pktinfo in recvfrom_flags() struct589 struct in_pktinfo *tmp; in recvfrom_flags()592 tmp = (struct in_pktinfo *) CMSG_DATA(cmptr); in recvfrom_flags()
240 struct in_pktinfo *pktinfo = in printpacket()241 (struct in_pktinfo *)CMSG_DATA(cmsg); in printpacket()
206 struct in_pktinfo *info = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg()
220 struct in_pktinfo { struct
221 struct in_pktinfo { struct
714 struct in_pktinfo in_pktinfo; variable2864 cmsg->cmsg_len = CMSG_LEN(sizeof(in_pktinfo)); in send_pktinfo()2865 *(struct in_pktinfo*)CMSG_DATA(cmsg) = in_pktinfo; in send_pktinfo()2866 cmsg_space += CMSG_SPACE(sizeof(in_pktinfo)); in send_pktinfo()3089 struct in_pktinfo *pktinfo; in recv_pktinfo()3120 in_pktinfo = *(struct in_pktinfo *)CMSG_DATA(cmsg); in recv_pktinfo()
108 struct in_pktinfo ipi;109 } cmsg = { {sizeof(struct cmsghdr) + sizeof(struct in_pktinfo), SOL_IP, IP_PKTINFO},