Searched refs:in_pktinfo (Results 1 – 6 of 6) 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()581 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in receive_query()642 dst_addr_4 = dst_addr.addr.addr4 = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_spec_dst; in receive_query()643 if_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex; in receive_query()
120 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in dhcp_packet()178 iface_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex; in dhcp_packet()179 if (((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_addr.s_addr != INADDR_BROADCAST) in dhcp_packet()291 struct in_pktinfo *pkt; in dhcp_packet()295 pkt = (struct in_pktinfo *)CMSG_DATA(cmptr); in dhcp_packet()298 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in dhcp_packet()
61 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in tftp_request()102 addr.sin_addr = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_spec_dst; in tftp_request()103 if_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex; in tftp_request()
463 struct in_pktinfo *pi = (struct in_pktinfo *)(CMSG_DATA(cm));636 struct in_pktinfo *pi;654 m.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo));656 cm->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo));659 pi = (struct in_pktinfo *)CMSG_DATA(cm);
169 struct in_pktinfo struct
956 struct in_pktinfo ipi;957 } cmsg = { {sizeof(struct cmsghdr) + sizeof(struct in_pktinfo), SOL_IP, IP_PKTINFO},