Searched refs:ip6_hdr (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/net/ipv6/ |
| H A D | calipso.c | 1285 if (ip6_hdr->nexthdr != NEXTHDR_HOP) in calipso_skbuff_optptr() 1311 struct ipv6hdr *ip6_hdr; in calipso_skbuff_setattr() local 1317 ip6_hdr = ipv6_hdr(skb); in calipso_skbuff_setattr() 1348 memmove((char *)ip6_hdr - len_delta, ip6_hdr, in calipso_skbuff_setattr() 1349 sizeof(*ip6_hdr) + start); in calipso_skbuff_setattr() 1351 ip6_hdr = ipv6_hdr(skb); in calipso_skbuff_setattr() 1362 ip6_hdr->nexthdr = NEXTHDR_HOP; in calipso_skbuff_setattr() 1384 struct ipv6hdr *ip6_hdr; in calipso_skbuff_delattr() local 1396 ip6_hdr = ipv6_hdr(skb); in calipso_skbuff_delattr() 1408 size = sizeof(*ip6_hdr); in calipso_skbuff_delattr() [all …]
|
| /linux-6.15/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 | skf_net_off.c | 79 const int offset_proto = offsetof(struct ip6_hdr, ip6_nxt); in sk_set_filter() 80 const int offset_dport = sizeof(struct ip6_hdr) + offsetof(struct udphdr, dest); in sk_set_filter()
|
| 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)) 196 #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()
|
| /linux-6.15/net/batman-adv/ |
| H A D | main.c | 363 struct ipv6hdr ip6_hdr_tmp, *ip6_hdr; in batadv_skb_set_priority() local 393 ip6_hdr = skb_header_pointer(skb, offset + sizeof(*ethhdr), in batadv_skb_set_priority() 394 sizeof(*ip6_hdr), &ip6_hdr_tmp); in batadv_skb_set_priority() 395 if (!ip6_hdr) in batadv_skb_set_priority() 397 prio = (ipv6_get_dsfield(ip6_hdr) & 0xfc) >> 5; in batadv_skb_set_priority()
|
| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_txrx.c | 449 struct ipv6hdr *ip6_hdr; in fbnic_features_check_encap_gso() local 483 ip6_hdr = ipv6_hdr(skb); in fbnic_features_check_encap_gso() 484 if (ip6_hdr->version != 6) in fbnic_features_check_encap_gso() 487 l4_hdr = ip6_hdr->nexthdr; in fbnic_features_check_encap_gso() 488 start = (unsigned char *)ip6_hdr - skb->data + sizeof(struct ipv6hdr); in fbnic_features_check_encap_gso()
|