Home
last modified time | relevance | path

Searched refs:ipv6hdr (Results 76 - 100 of 664) sorted by relevance

12345678910>>...27

/kernel/linux/linux-6.6/drivers/staging/gdm724x/
H A Dgdm_lte.c174 static __sum16 icmp6_checksum(struct ipv6hdr *ipv6, u16 *ptr, int len) in icmp6_checksum()
229 struct ipv6hdr *ipv6_in; in gdm_lte_emulate_ndp()
230 struct ipv6hdr ipv6_out; in gdm_lte_emulate_ndp()
253 ipv6_in = (struct ipv6hdr *)(skb_in->data + mac_header_len); in gdm_lte_emulate_ndp()
259 sizeof(struct ipv6hdr)); in gdm_lte_emulate_ndp()
280 sizeof(struct ipv6hdr) + sizeof(struct icmp6hdr)); in gdm_lte_emulate_ndp()
291 memcpy(&ipv6_out, ipv6_in, sizeof(struct ipv6hdr)); in gdm_lte_emulate_ndp()
321 skb_put_data(skb_out, &ipv6_out, sizeof(struct ipv6hdr)); in gdm_lte_emulate_ndp()
341 struct ipv6hdr *ipv6; in gdm_lte_tx_nic_type()
384 network_data + sizeof(struct ipv6hdr); in gdm_lte_tx_nic_type()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dgro.c69 #define TOTAL_HDR_LEN (ETH_HLEN + sizeof(struct ipv6hdr) + sizeof(struct tcphdr))
70 #define MSS (4096 - sizeof(struct tcphdr) - sizeof(struct ipv6hdr))
71 #define MAX_PAYLOAD (IP_MAXPACKET - sizeof(struct tcphdr) - sizeof(struct ipv6hdr))
73 #define MAX_HDR_LEN (ETH_HLEN + sizeof(struct ipv6hdr) + sizeof(struct tcphdr))
113 next_off = offsetof(struct ipv6hdr, nexthdr); in setup_sock_filter()
223 struct ipv6hdr *ip6h = buf; in fill_networklayer()
379 struct ipv6hdr *ip6h = (struct ipv6hdr *)(buf + ETH_HLEN); in recompute_packet()
646 struct ipv6hdr *ip6h = (struct ipv6hdr *)(bu in send_changed_tos()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_tcpbpf_kern.c56 char header[sizeof(struct ipv6hdr) + sizeof(struct tcphdr)]; in bpf_testcb()
139 header, (sizeof(struct ipv6hdr) + in bpf_testcb()
142 int offset = sizeof(struct ipv6hdr); in bpf_testcb()
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dlag.c15 struct ipv6hdr *ip6h; in rdma_build_skb()
26 hdr_len += is_ipv4 ? sizeof(struct iphdr) : sizeof(struct ipv6hdr); in rdma_build_skb()
57 skb_push(skb, sizeof(struct ipv6hdr)); in rdma_build_skb()
/kernel/linux/linux-5.10/samples/bpf/
H A Dparse_varlen.c80 struct ipv6hdr *ip6h; in parse_ipv6()
82 uint64_t ihl_len = sizeof(struct ipv6hdr); in parse_ipv6()
101 ihl_len += sizeof(struct ipv6hdr); in parse_ipv6()
/kernel/linux/linux-5.10/net/ipv6/
H A Dexthdrs_core.c191 unsigned int start = skb_network_offset(skb) + sizeof(struct ipv6hdr); in ipv6_find_hdr()
199 struct ipv6hdr _ip6, *ip6; in ipv6_find_hdr()
204 start = *offset + sizeof(struct ipv6hdr); in ipv6_find_hdr()
H A Dtcpv6_offload.c31 const struct ipv6hdr *iph = ipv6_hdr(skb); in tcp6_gro_complete()
53 const struct ipv6hdr *ipv6h = ipv6_hdr(skb); in tcp6_gso_segment()
H A Dmip6.c121 const struct ipv6hdr *iph = ipv6_hdr(skb); in mip6_destopt_input()
140 struct ipv6hdr *iph; in mip6_destopt_output()
253 u16 offset = sizeof(struct ipv6hdr); in mip6_destopt_offset()
341 const struct ipv6hdr *iph = ipv6_hdr(skb); in mip6_rthdr_input()
359 struct ipv6hdr *iph; in mip6_rthdr_output()
389 u16 offset = sizeof(struct ipv6hdr); in mip6_rthdr_offset()
H A Dip6_input.c152 const struct ipv6hdr *hdr; in ip6_rcv_core()
253 IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr); in ip6_rcv_core()
259 if (pkt_len + sizeof(struct ipv6hdr) > skb->len) { in ip6_rcv_core()
264 if (pskb_trim_rcsum(skb, pkt_len + sizeof(struct ipv6hdr))) { in ip6_rcv_core()
392 const struct ipv6hdr *hdr; in ip6_protocol_deliver_rcu()
486 const struct ipv6hdr *hdr; in ip6_mc_input()
H A Ddatagram.c323 serr->addr_offset = (u8 *)&(((struct ipv6hdr *)(icmph + 1))->daddr) - in ipv6_icmp_error()
342 struct ipv6hdr *iph; in ipv6_local_error()
348 skb = alloc_skb(sizeof(struct ipv6hdr), GFP_ATOMIC); in ipv6_local_error()
354 skb_put(skb, sizeof(struct ipv6hdr)); in ipv6_local_error()
381 struct ipv6hdr *iph; in ipv6_local_rxpmtu()
388 skb = alloc_skb(sizeof(struct ipv6hdr), GFP_ATOMIC); in ipv6_local_rxpmtu()
392 skb_put(skb, sizeof(struct ipv6hdr)); in ipv6_local_rxpmtu()
486 const struct ipv6hdr *ip6h = container_of((struct in6_addr *)(nh + serr->addr_offset), in ipv6_recv_error()
487 struct ipv6hdr, daddr); in ipv6_recv_error()
632 __be32 flowinfo = ip6_flowinfo((struct ipv6hdr *)n in ip6_datagram_recv_specific_ctl()
[all...]
/kernel/linux/linux-5.10/net/ipv6/netfilter/
H A Dnf_socket_ipv6.c28 struct ipv6hdr *ipv6_var) in extract_icmp6_fields()
30 const struct ipv6hdr *inside_iph; in extract_icmp6_fields()
102 struct ipv6hdr *iph = ipv6_hdr(skb), ipv6_var; in nf_sk_lookup_slow_v6()
H A Dnf_dup_ipv6.c22 const struct ipv6hdr *iph = ipv6_hdr(skb); in nf_dup_ipv6_route()
62 struct ipv6hdr *iph = ipv6_hdr(skb); in nf_dup_ipv6()
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dlag.c14 struct ipv6hdr *ip6h; in rdma_build_skb()
25 hdr_len += is_ipv4 ? sizeof(struct iphdr) : sizeof(struct ipv6hdr); in rdma_build_skb()
56 skb_push(skb, sizeof(struct ipv6hdr)); in rdma_build_skb()
/kernel/linux/linux-6.6/samples/bpf/
H A Dparse_varlen.c80 struct ipv6hdr *ip6h; in parse_ipv6()
82 uint64_t ihl_len = sizeof(struct ipv6hdr); in parse_ipv6()
101 ihl_len += sizeof(struct ipv6hdr); in parse_ipv6()
/kernel/linux/linux-6.6/net/ipv6/netfilter/
H A Dnf_socket_ipv6.c28 struct ipv6hdr *ipv6_var) in extract_icmp6_fields()
30 const struct ipv6hdr *inside_iph; in extract_icmp6_fields()
102 struct ipv6hdr *iph = ipv6_hdr(skb), ipv6_var; in nf_sk_lookup_slow_v6()
H A Dnf_dup_ipv6.c22 const struct ipv6hdr *iph = ipv6_hdr(skb); in nf_dup_ipv6_route()
62 struct ipv6hdr *iph = ipv6_hdr(skb); in nf_dup_ipv6()
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_netfilter_ipv6.c45 const struct ipv6hdr *hdr; in br_validate_ipv6()
48 u8 ip6h_len = sizeof(struct ipv6hdr); in br_validate_ipv6()
182 skb->transport_header = skb->network_header + sizeof(struct ipv6hdr); in br_nf_pre_routing_ipv6()
/kernel/linux/linux-6.6/net/ipv6/
H A Dexthdrs_core.c191 unsigned int start = skb_network_offset(skb) + sizeof(struct ipv6hdr); in ipv6_find_hdr()
199 struct ipv6hdr _ip6, *ip6; in ipv6_find_hdr()
204 start = *offset + sizeof(struct ipv6hdr); in ipv6_find_hdr()
H A Dtcpv6_offload.c32 const struct ipv6hdr *iph = ipv6_hdr(skb); in tcp6_gro_complete()
55 const struct ipv6hdr *ipv6h = ipv6_hdr(skb); in tcp6_gso_segment()
H A Dip6_input.c153 const struct ipv6hdr *hdr; in ip6_rcv_core()
262 IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr); in ip6_rcv_core()
268 if (pkt_len + sizeof(struct ipv6hdr) > skb->len) { in ip6_rcv_core()
274 if (pskb_trim_rcsum(skb, pkt_len + sizeof(struct ipv6hdr))) in ip6_rcv_core()
401 const struct ipv6hdr *hdr; in ip6_protocol_deliver_rcu()
501 const struct ipv6hdr *hdr; in ip6_mc_input()
H A Ddatagram.c329 serr->addr_offset = (u8 *)&(((struct ipv6hdr *)(icmph + 1))->daddr) - in ipv6_icmp_error()
349 struct ipv6hdr *iph; in ipv6_local_error()
355 skb = alloc_skb(sizeof(struct ipv6hdr), GFP_ATOMIC); in ipv6_local_error()
361 skb_put(skb, sizeof(struct ipv6hdr)); in ipv6_local_error()
388 struct ipv6hdr *iph; in ipv6_local_rxpmtu()
395 skb = alloc_skb(sizeof(struct ipv6hdr), GFP_ATOMIC); in ipv6_local_rxpmtu()
399 skb_put(skb, sizeof(struct ipv6hdr)); in ipv6_local_rxpmtu()
493 const struct ipv6hdr *ip6h = container_of((struct in6_addr *)(nh + serr->addr_offset), in ipv6_recv_error()
494 struct ipv6hdr, daddr); in ipv6_recv_error()
639 __be32 flowinfo = ip6_flowinfo((struct ipv6hdr *)n in ip6_datagram_recv_specific_ctl()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect_dynptr.c186 const struct ipv6hdr *ipv6, uint8_t *upper_proto, in pkt_skip_ipv6_extension_headers()
242 static int pkt_parse_ipv6(struct bpf_dynptr *dynptr, __u64 *offset, struct ipv6hdr *ipv6, in pkt_parse_ipv6()
320 skb, payload_off + offsetof(struct ipv6hdr, hop_limit), in forward_with_gre()
334 skb, payload_off + offsetof(struct ipv6hdr, hop_limit), in forward_with_gre()
522 case sizeof(struct ipv6hdr): { in fill_tuple() argument
523 struct ipv6hdr *ipv6 = (struct ipv6hdr *)iph; in fill_tuple()
557 iphlen = sizeof(struct ipv6hdr); in classify_tcp()
656 struct ipv6hdr ipv6; in process_icmpv6()
791 struct ipv6hdr ipv in process_ipv6()
[all...]
H A Dtest_xdp_do_redirect.c6 #define HDR_SZ (sizeof(struct ethhdr) + sizeof(struct ipv6hdr) + sizeof(struct udphdr))
69 struct ipv6hdr *iph = data + sizeof(struct ethhdr); in check_pkt()
H A Dip_check_defrag.c35 static bool is_frag_v6(struct ipv6hdr *ip6h) in is_frag_v6()
70 struct ipv6hdr *ip6h; in handle_v6()
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_flow_table_ip.c473 struct ipv6hdr *ip6h) in nf_flow_nat_ipv6_tcp()
497 static void nf_flow_nat_ipv6_l4proto(struct sk_buff *skb, struct ipv6hdr *ip6h, in nf_flow_nat_ipv6_l4proto()
512 struct sk_buff *skb, struct ipv6hdr *ip6h, in nf_flow_snat_ipv6()
535 struct sk_buff *skb, struct ipv6hdr *ip6h, in nf_flow_dnat_ipv6()
560 struct ipv6hdr *ip6h) in nf_flow_nat_ipv6()
578 struct ipv6hdr *ip6h; in nf_flow_tuple_ipv6()
586 ip6h = (struct ipv6hdr *)(skb_network_header(skb) + ctx->offset); in nf_flow_tuple_ipv6()
628 ip6h = (struct ipv6hdr *)(skb_network_header(skb) + ctx->offset); in nf_flow_tuple_ipv6()
648 struct ipv6hdr *ip6h; in nf_flow_offload_ipv6_forward()
657 ip6h = (struct ipv6hdr *)(skb_network_heade in nf_flow_offload_ipv6_forward()
[all...]

Completed in 14 milliseconds

12345678910>>...27