Searched refs:MIN_EXTHDR_SIZE (Results 1 – 1 of 1) sorted by relevance
74 #define MIN_EXTHDR_SIZE 8 macro130 BUILD_BUG_ON(sizeof(struct ip6_hbh) > MIN_EXTHDR_SIZE); in setup_sock_filter()131 BUILD_BUG_ON(sizeof(struct ip6_dest) > MIN_EXTHDR_SIZE); in setup_sock_filter()132 BUILD_BUG_ON(sizeof(struct ip6_frag) > MIN_EXTHDR_SIZE); in setup_sock_filter()135 optlen = MIN_EXTHDR_SIZE; in setup_sock_filter()614 memcpy(exthdr_payload_start, ext_payload, MIN_EXTHDR_SIZE - sizeof(*exthdr)); in add_ipv6_exthdr()617 memcpy(optpkt + tcp_offset + MIN_EXTHDR_SIZE, buf + tcp_offset, in add_ipv6_exthdr()621 iph->payload_len = htons(ntohs(iph->payload_len) + MIN_EXTHDR_SIZE); in add_ipv6_exthdr()734 static char exthdr_pck[sizeof(buf) + MIN_EXTHDR_SIZE]; in send_ipv6_exthdr()738 write_packet(fd, exthdr_pck, total_hdr_len + PAYLOAD_LEN + MIN_EXTHDR_SIZE, daddr); in send_ipv6_exthdr()[all …]