Home
last modified time | relevance | path

Searched refs:exthdr (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/net/ipv6/
Doutput_core.c73 struct ipv6_opt_hdr *exthdr; in ip6_find_1stfragopt() local
97 exthdr = (struct ipv6_opt_hdr *)(skb_network_header(skb) + in ip6_find_1stfragopt()
99 offset += ipv6_optlen(exthdr); in ip6_find_1stfragopt()
102 *nexthdr = &exthdr->nexthdr; in ip6_find_1stfragopt()
Dmip6.c254 struct ipv6_opt_hdr *exthdr = in mip6_destopt_offset() local
290 offset += ipv6_optlen(exthdr); in mip6_destopt_offset()
291 *nexthdr = &exthdr->nexthdr; in mip6_destopt_offset()
292 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in mip6_destopt_offset()
390 struct ipv6_opt_hdr *exthdr = in mip6_rthdr_offset() local
425 offset += ipv6_optlen(exthdr); in mip6_rthdr_offset()
426 *nexthdr = &exthdr->nexthdr; in mip6_rthdr_offset()
427 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in mip6_rthdr_offset()
Dah6.c251 } exthdr = { .iph = iph }; in ipv6_clear_mutable_options() local
252 char *end = exthdr.raw + len; in ipv6_clear_mutable_options()
255 exthdr.iph++; in ipv6_clear_mutable_options()
257 while (exthdr.raw < end) { in ipv6_clear_mutable_options()
261 ipv6_rearrange_destopt(iph, exthdr.opth); in ipv6_clear_mutable_options()
264 if (!zero_out_mutable_opts(exthdr.opth)) { in ipv6_clear_mutable_options()
273 ipv6_rearrange_rthdr(iph, exthdr.rth); in ipv6_clear_mutable_options()
280 nexthdr = exthdr.opth->nexthdr; in ipv6_clear_mutable_options()
281 exthdr.raw += ipv6_optlen(exthdr.opth); in ipv6_clear_mutable_options()
Desp6_offload.c33 struct ipv6_opt_hdr *exthdr; in esp6_nexthdr_esp_offset() local
39 exthdr = (void *)ipv6_hdr + off; in esp6_nexthdr_esp_offset()
40 if (exthdr->nexthdr == NEXTHDR_ESP) in esp6_nexthdr_esp_offset()
43 off += ipv6_optlen(exthdr); in esp6_nexthdr_esp_offset()
/kernel/linux/linux-5.10/drivers/media/pci/saa7164/
Dsaa7164-api.c923 struct tmComResExtDevDescrHeader *exthdr; in saa7164_api_dump_subdevs() local
1227 exthdr = (struct tmComResExtDevDescrHeader *)(buf + idx); in saa7164_api_dump_subdevs()
1229 exthdr->unitid); in saa7164_api_dump_subdevs()
1231 exthdr->deviceid); in saa7164_api_dump_subdevs()
1233 exthdr->devicetype); in saa7164_api_dump_subdevs()
1234 if (exthdr->devicetype & 0x1) in saa7164_api_dump_subdevs()
1236 if (exthdr->devicetype & 0x2) in saa7164_api_dump_subdevs()
1238 if (exthdr->devicetype & 0x4) in saa7164_api_dump_subdevs()
1240 if (exthdr->devicetype & 0x8) in saa7164_api_dump_subdevs()
1242 if (exthdr->devicetype & 0x20) in saa7164_api_dump_subdevs()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_cls_redirect.c291 } exthdr = { in pkt_skip_ipv6_extension_headers() local
298 switch (exthdr.next) { in pkt_skip_ipv6_extension_headers()
308 if (!buf_copy(pkt, &exthdr, sizeof(exthdr))) { in pkt_skip_ipv6_extension_headers()
314 (exthdr.len + 1) * 8 - sizeof(exthdr))) { in pkt_skip_ipv6_extension_headers()
332 *upper_proto = exthdr.next; in pkt_skip_ipv6_extension_headers()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c206 u8 *exthdr; in get_inner_l3_l4_type() local
215 exthdr = ip->hdr + sizeof(*ip->v6); in get_inner_l3_l4_type()
217 if (exthdr != l4->hdr) { in get_inner_l3_l4_type()
218 int start = exthdr - skb->data; in get_inner_l3_l4_type()
378 unsigned char *exthdr; in offload_csum() local
382 exthdr = ip.hdr + sizeof(*ip.v6); in offload_csum()
385 if (l4.hdr != exthdr) in offload_csum()
386 ipv6_skip_exthdr(skb, exthdr - skb->data, in offload_csum()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1971 unsigned char *exthdr; in iavf_tx_enable_csum() local
1997 exthdr = ip.hdr + sizeof(*ip.v6); in iavf_tx_enable_csum()
1999 if (l4.hdr != exthdr) in iavf_tx_enable_csum()
2000 ipv6_skip_exthdr(skb, exthdr - skb->data, in iavf_tx_enable_csum()
2071 exthdr = ip.hdr + sizeof(*ip.v6); in iavf_tx_enable_csum()
2073 if (l4.hdr != exthdr) in iavf_tx_enable_csum()
2074 ipv6_skip_exthdr(skb, exthdr - skb->data, in iavf_tx_enable_csum()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_txrx.c1895 unsigned char *exthdr; in ice_tx_csum() local
1930 exthdr = ip.hdr + sizeof(*ip.v6); in ice_tx_csum()
1932 ret = ipv6_skip_exthdr(skb, exthdr - skb->data, in ice_tx_csum()
2011 exthdr = ip.hdr + sizeof(*ip.v6); in ice_tx_csum()
2013 if (l4.hdr != exthdr) in ice_tx_csum()
2014 ipv6_skip_exthdr(skb, exthdr - skb->data, &l4_proto, in ice_tx_csum()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3080 unsigned char *exthdr; in i40e_tx_enable_csum() local
3108 exthdr = ip.hdr + sizeof(*ip.v6); in i40e_tx_enable_csum()
3110 ret = ipv6_skip_exthdr(skb, exthdr - skb->data, in i40e_tx_enable_csum()
3183 exthdr = ip.hdr + sizeof(*ip.v6); in i40e_tx_enable_csum()
3185 if (l4.hdr != exthdr) in i40e_tx_enable_csum()
3186 ipv6_skip_exthdr(skb, exthdr - skb->data, in i40e_tx_enable_csum()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_policy.c3398 struct ipv6_opt_hdr *exthdr; in decode_session6() local
3419 while (nh + offset + sizeof(*exthdr) < skb->data || in decode_session6()
3420 pskb_may_pull(skb, nh + offset + sizeof(*exthdr) - skb->data)) { in decode_session6()
3422 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in decode_session6()
3431 offset += ipv6_optlen(exthdr); in decode_session6()
3432 nexthdr = exthdr->nexthdr; in decode_session6()
3433 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in decode_session6()
3485 offset += ipv6_optlen(exthdr); in decode_session6()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c736 unsigned char *exthdr; in hns3_get_l4_protocol() local
745 exthdr = l3.hdr + sizeof(*l3.v6); in hns3_get_l4_protocol()
747 if (l4_hdr != exthdr) in hns3_get_l4_protocol()
748 ipv6_skip_exthdr(skb, exthdr - skb->data, in hns3_get_l4_protocol()
769 exthdr = l3.hdr + sizeof(*l3.v6); in hns3_get_l4_protocol()
771 if (l4_hdr != exthdr) in hns3_get_l4_protocol()
772 ipv6_skip_exthdr(skb, exthdr - skb->data, in hns3_get_l4_protocol()
/kernel/linux/linux-5.10/Documentation/networking/
Drds.rst445 If the rcvr is not mprds-capable, the exthdr in the ping will be