Searched refs:ip6_hdr (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/net/ipv6/ |
H A D | calipso.c | 1285 const struct ipv6hdr *ip6_hdr = ipv6_hdr(skb); 1288 if (ip6_hdr->nexthdr != NEXTHDR_HOP) 1291 offset = ipv6_find_tlv(skb, sizeof(*ip6_hdr), IPV6_TLV_CALIPSO); 1293 return (unsigned char *)ip6_hdr + offset; 1314 struct ipv6hdr *ip6_hdr; in calipso_skbuff_setattr() 1320 ip6_hdr = ipv6_hdr(skb); in calipso_skbuff_setattr() 1321 if (ip6_hdr->nexthdr == NEXTHDR_HOP) { in calipso_skbuff_setattr() 1322 hop = (struct ipv6_opt_hdr *)(ip6_hdr + 1); in calipso_skbuff_setattr() 1344 ip6_hdr = ipv6_hdr(skb); /* Reset as skb_cow() may have moved it */ in calipso_skbuff_setattr() 1351 memmove((char *)ip6_hdr in calipso_skbuff_setattr() 1270 const struct ipv6hdr *ip6_hdr = ipv6_hdr(skb); calipso_skbuff_optptr() local 1299 struct ipv6hdr *ip6_hdr; calipso_skbuff_setattr() local 1372 struct ipv6hdr *ip6_hdr; calipso_skbuff_delattr() local [all...] |
/openbmc/qemu/net/ |
H A D | eth.c | 113 const struct ip6_header *ip6_hdr, in _eth_tcp_has_data() argument 123 l4len = be16_to_cpu(ip6_hdr->ip6_ctlun.ip6_un1.ip6_un1_plen) - opts_len; in _eth_tcp_has_data() 199 &ip6hdr_info->ip6_hdr, in eth_get_protocols() 470 &info->ip6_hdr, sizeof(info->ip6_hdr)); in eth_parse_ipv6_hdr() 471 if (bytes_read < sizeof(info->ip6_hdr)) { in eth_parse_ipv6_hdr() 477 curr_ext_hdr_type = info->ip6_hdr.ip6_nxt; in eth_parse_ipv6_hdr() 480 info->l4proto = info->ip6_hdr.ip6_nxt; in eth_parse_ipv6_hdr()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ip_defrag.c | 30 #define IP6_HLEN (sizeof(struct ip6_hdr)) 117 static uint16_t udp6_checksum(struct ip6_hdr *iphdr, struct udphdr *udphdr) in udp6_checksum() 150 udphdr.check = udp6_checksum((struct ip6_hdr *)ip_frame, &udphdr); in send_fragment() 157 struct ip6_hdr *ip6hdr = (struct ip6_hdr *)ip_frame; in send_fragment() 207 struct ip6_hdr *ip6hdr = (struct ip6_hdr *)ip_frame; in send_udp_frags()
|
H A D | toeplitz.c | 181 addrs = pkt + offsetof(struct ip6_hdr, ip6_src); in verify_rxhash() 318 __set_filter(fd, offsetof(struct ip6_hdr, ip6_nxt), proto, in set_filter() 319 sizeof(struct ip6_hdr) + off_dport); in set_filter()
|
H A D | udpgso.c | 43 #define CONST_HDRLEN_V6 (sizeof(struct ip6_hdr) + sizeof(struct udphdr)) 188 #define IP6_MAX_MTU (ETH_MAX_MTU + sizeof(struct ip6_hdr))
|
H A D | udpgso_bench_tx.c | 538 hdrlen = sizeof(struct ip6_hdr) + sizeof(struct udphdr); in parse_opts()
|
/openbmc/linux/net/batman-adv/ |
H A D | main.c | 362 struct ipv6hdr ip6_hdr_tmp, *ip6_hdr; in batadv_skb_set_priority() local 392 ip6_hdr = skb_header_pointer(skb, offset + sizeof(*ethhdr), in batadv_skb_set_priority() 393 sizeof(*ip6_hdr), &ip6_hdr_tmp); in batadv_skb_set_priority() 394 if (!ip6_hdr) in batadv_skb_set_priority() 396 prio = (ipv6_get_dsfield(ip6_hdr) & 0xfc) >> 5; in batadv_skb_set_priority()
|
/openbmc/qemu/hw/net/ |
H A D | net_rx_pkt.c | 266 : &ip6info->ip6_hdr.ip6_src, in _net_rx_rss_prepare_ip6() 271 : &ip6info->ip6_hdr.ip6_dst, in _net_rx_rss_prepare_ip6() 517 struct ip6_header *ip6hdr = &pkt->ip6hdr_info.ip6_hdr; in _net_rx_pkt_calc_l4_csum() 526 cntr = eth_calc_ip6_pseudo_hdr_csum(&pkt->ip6hdr_info.ip6_hdr, csl, in _net_rx_pkt_calc_l4_csum()
|
/openbmc/qemu/include/net/ |
H A D | eth.h | 366 struct ip6_header ip6_hdr; member
|