/linux-5.19.10/net/ipv6/ |
D | output_core.c | 73 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()
|
D | ah6.c | 248 } exthdr = { .iph = iph }; in ipv6_clear_mutable_options() local 249 char *end = exthdr.raw + len; in ipv6_clear_mutable_options() 252 exthdr.iph++; in ipv6_clear_mutable_options() 254 while (exthdr.raw < end) { in ipv6_clear_mutable_options() 258 ipv6_rearrange_destopt(iph, exthdr.opth); in ipv6_clear_mutable_options() 261 if (!zero_out_mutable_opts(exthdr.opth)) { in ipv6_clear_mutable_options() 270 ipv6_rearrange_rthdr(iph, exthdr.rth); in ipv6_clear_mutable_options() 277 nexthdr = exthdr.opth->nexthdr; in ipv6_clear_mutable_options() 278 exthdr.raw += ipv6_optlen(exthdr.opth); in ipv6_clear_mutable_options()
|
D | esp6_offload.c | 34 struct ipv6_opt_hdr *exthdr; in esp6_nexthdr_esp_offset() local 40 exthdr = (void *)ipv6_hdr + off; in esp6_nexthdr_esp_offset() 41 if (exthdr->nexthdr == NEXTHDR_ESP) in esp6_nexthdr_esp_offset() 44 off += ipv6_optlen(exthdr); in esp6_nexthdr_esp_offset()
|
/linux-5.19.10/drivers/media/pci/saa7164/ |
D | saa7164-api.c | 923 struct tmComResExtDevDescrHeader *exthdr; in saa7164_api_dump_subdevs() local 1225 exthdr = (struct tmComResExtDevDescrHeader *)(buf + idx); in saa7164_api_dump_subdevs() 1227 exthdr->unitid); in saa7164_api_dump_subdevs() 1229 exthdr->deviceid); in saa7164_api_dump_subdevs() 1231 exthdr->devicetype); in saa7164_api_dump_subdevs() 1232 if (exthdr->devicetype & 0x1) in saa7164_api_dump_subdevs() 1234 if (exthdr->devicetype & 0x2) in saa7164_api_dump_subdevs() 1236 if (exthdr->devicetype & 0x4) in saa7164_api_dump_subdevs() 1238 if (exthdr->devicetype & 0x8) in saa7164_api_dump_subdevs() 1240 if (exthdr->devicetype & 0x20) in saa7164_api_dump_subdevs() [all …]
|
/linux-5.19.10/tools/testing/selftests/net/ |
D | cmsg_sender.c | 71 struct option_cmsg_u32 exthdr; member 178 opt.v6.exthdr.ena = true; in cs_parse_args() 181 opt.v6.exthdr.val = IPV6_HOPOPTS; in cs_parse_args() 184 opt.v6.exthdr.val = IPV6_DSTOPTS; in cs_parse_args() 187 opt.v6.exthdr.val = IPV6_RTHDRDSTOPTS; in cs_parse_args() 297 if (opt.v6.exthdr.ena) { in cs_write_cmsg() 304 cmsg->cmsg_type = opt.v6.exthdr.val; in cs_write_cmsg()
|
/linux-5.19.10/net/netfilter/ |
D | nft_exthdr.c | 610 const struct nft_exthdr *exthdr; in nft_exthdr_reduce() local 617 exthdr = nft_expr_priv(track->regs[priv->dreg].selector); in nft_exthdr_reduce() 618 if (priv->type != exthdr->type || in nft_exthdr_reduce() 619 priv->op != exthdr->op || in nft_exthdr_reduce() 620 priv->flags != exthdr->flags || in nft_exthdr_reduce() 621 priv->offset != exthdr->offset || in nft_exthdr_reduce() 622 priv->len != exthdr->len) { in nft_exthdr_reduce()
|
/linux-5.19.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_tx.c | 205 u8 *exthdr; in get_inner_l3_l4_type() local 214 exthdr = ip->hdr + sizeof(*ip->v6); in get_inner_l3_l4_type() 216 if (exthdr != l4->hdr) { in get_inner_l3_l4_type() 217 int start = exthdr - skb->data; in get_inner_l3_l4_type() 377 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()
|
/linux-5.19.10/tools/testing/selftests/bpf/progs/ |
D | test_cls_redirect.c | 292 } exthdr = { in pkt_skip_ipv6_extension_headers() local 299 switch (exthdr.next) { in pkt_skip_ipv6_extension_headers() 309 if (!buf_copy(pkt, &exthdr, sizeof(exthdr))) { in pkt_skip_ipv6_extension_headers() 315 (exthdr.len + 1) * 8 - sizeof(exthdr))) { in pkt_skip_ipv6_extension_headers() 333 *upper_proto = exthdr.next; in pkt_skip_ipv6_extension_headers()
|
/linux-5.19.10/net/xfrm/ |
D | xfrm_output.c | 92 struct ipv6_opt_hdr *exthdr; in mip6_rthdr_offset() local 128 exthdr = (struct ipv6_opt_hdr *)(skb_network_header(skb) + in mip6_rthdr_offset() 130 offset += ipv6_optlen(exthdr); in mip6_rthdr_offset() 133 *nexthdr = &exthdr->nexthdr; in mip6_rthdr_offset()
|
D | xfrm_policy.c | 3367 struct ipv6_opt_hdr *exthdr; in decode_session6() local 3388 while (nh + offset + sizeof(*exthdr) < skb->data || in decode_session6() 3389 pskb_may_pull(skb, nh + offset + sizeof(*exthdr) - skb->data)) { in decode_session6() 3391 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in decode_session6() 3400 offset += ipv6_optlen(exthdr); in decode_session6() 3401 nexthdr = exthdr->nexthdr; in decode_session6() 3453 offset += ipv6_optlen(exthdr); in decode_session6()
|
/linux-5.19.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 1986 unsigned char *exthdr; in iavf_tx_enable_csum() local 2012 exthdr = ip.hdr + sizeof(*ip.v6); in iavf_tx_enable_csum() 2014 if (l4.hdr != exthdr) in iavf_tx_enable_csum() 2015 ipv6_skip_exthdr(skb, exthdr - skb->data, in iavf_tx_enable_csum() 2086 exthdr = ip.hdr + sizeof(*ip.v6); in iavf_tx_enable_csum() 2088 if (l4.hdr != exthdr) in iavf_tx_enable_csum() 2089 ipv6_skip_exthdr(skb, exthdr - skb->data, in iavf_tx_enable_csum()
|
/linux-5.19.10/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.c | 1745 unsigned char *exthdr; in ice_tx_csum() local 1788 exthdr = ip.hdr + sizeof(*ip.v6); in ice_tx_csum() 1790 ret = ipv6_skip_exthdr(skb, exthdr - skb->data, in ice_tx_csum() 1869 exthdr = ip.hdr + sizeof(*ip.v6); in ice_tx_csum() 1871 if (l4.hdr != exthdr) in ice_tx_csum() 1872 ipv6_skip_exthdr(skb, exthdr - skb->data, &l4_proto, in ice_tx_csum()
|
/linux-5.19.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 3196 unsigned char *exthdr; in i40e_tx_enable_csum() local 3240 exthdr = ip.hdr + sizeof(*ip.v6); in i40e_tx_enable_csum() 3242 ret = ipv6_skip_exthdr(skb, exthdr - skb->data, in i40e_tx_enable_csum() 3315 exthdr = ip.hdr + sizeof(*ip.v6); in i40e_tx_enable_csum() 3317 if (l4.hdr != exthdr) in i40e_tx_enable_csum() 3318 ipv6_skip_exthdr(skb, exthdr - skb->data, in i40e_tx_enable_csum()
|
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 1241 unsigned char *exthdr; in hns3_get_l4_protocol() local 1250 exthdr = l3.hdr + sizeof(*l3.v6); in hns3_get_l4_protocol() 1252 if (l4_hdr != exthdr) in hns3_get_l4_protocol() 1253 ipv6_skip_exthdr(skb, exthdr - skb->data, in hns3_get_l4_protocol() 1274 exthdr = l3.hdr + sizeof(*l3.v6); in hns3_get_l4_protocol() 1276 if (l4_hdr != exthdr) in hns3_get_l4_protocol() 1277 ipv6_skip_exthdr(skb, exthdr - skb->data, in hns3_get_l4_protocol()
|
/linux-5.19.10/Documentation/networking/ |
D | rds.rst | 445 If the rcvr is not mprds-capable, the exthdr in the ping will be
|