/Linux-v5.10/net/ipv6/ |
D | calipso.c | 784 static int calipso_opt_update(struct sock *sk, struct ipv6_opt_hdr *hop) in calipso_opt_update() 812 static int calipso_tlv_len(struct ipv6_opt_hdr *opt, unsigned int offset) in calipso_tlv_len() 850 static int calipso_opt_find(struct ipv6_opt_hdr *hop, unsigned int *start, in calipso_opt_find() 911 static struct ipv6_opt_hdr * 912 calipso_opt_insert(struct ipv6_opt_hdr *hop, in calipso_opt_insert() 917 struct ipv6_opt_hdr *new; in calipso_opt_insert() 975 static int calipso_opt_del(struct ipv6_opt_hdr *hop, in calipso_opt_del() 976 struct ipv6_opt_hdr **new) in calipso_opt_del() 1079 struct ipv6_opt_hdr *hop; in calipso_sock_getattr() 1134 struct ipv6_opt_hdr *old, *new; in calipso_sock_setattr() [all …]
|
D | exthdrs_core.c | 80 struct ipv6_opt_hdr _hdr, *hp; in ipv6_skip_exthdr() 120 struct ipv6_opt_hdr *hdr; in ipv6_find_tlv() 125 hdr = (struct ipv6_opt_hdr *)(nh + offset); in ipv6_find_tlv() 207 struct ipv6_opt_hdr _hdr, *hp; in ipv6_find_hdr()
|
D | output_core.c | 91 struct ipv6_opt_hdr *exthdr; in ip6_find_1stfragopt() 112 if (offset + sizeof(struct ipv6_opt_hdr) > packet_len) in ip6_find_1stfragopt() 115 exthdr = (struct ipv6_opt_hdr *)(skb_network_header(skb) + in ip6_find_1stfragopt()
|
D | mip6.c | 254 struct ipv6_opt_hdr *exthdr = in mip6_destopt_offset() 255 (struct ipv6_opt_hdr *)(ipv6_hdr(skb) + 1); 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() 391 (struct ipv6_opt_hdr *)(ipv6_hdr(skb) + 1); in mip6_rthdr_offset() 427 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in mip6_rthdr_offset()
|
D | exthdrs.c | 1155 static void ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt) in ipv6_push_exthdr() 1157 struct ipv6_opt_hdr *h = skb_push(skb, ipv6_optlen(opt)); in ipv6_push_exthdr() 1212 struct ipv6_opt_hdr **dest, in ipv6_renew_option() 1213 struct ipv6_opt_hdr *old, in ipv6_renew_option() 1214 struct ipv6_opt_hdr *new, in ipv6_renew_option() 1217 struct ipv6_opt_hdr *src; in ipv6_renew_option() 1224 *dest = (struct ipv6_opt_hdr *)*p; in ipv6_renew_option() 1250 int newtype, struct ipv6_opt_hdr *newopt) in ipv6_renew_options() 1290 (struct ipv6_opt_hdr **)&opt2->srcrt, in ipv6_renew_options() 1291 (opt ? (struct ipv6_opt_hdr *)opt->srcrt : NULL), in ipv6_renew_options()
|
D | datagram.c | 760 struct ipv6_opt_hdr *hdr; in ip6_datagram_send_ctl() 859 if (opt->hopopt || cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl() 864 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 879 if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl() 884 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 904 if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl() 909 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
|
D | ah6.c | 105 static bool zero_out_mutable_opts(struct ipv6_opt_hdr *opthdr) in zero_out_mutable_opts() 149 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) in ipv6_rearrange_destopt() 202 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) {} in ipv6_rearrange_destopt() 248 struct ipv6_opt_hdr *opth; in ipv6_clear_mutable_options()
|
D | ip6_offload.c | 43 struct ipv6_opt_hdr *opth; in ipv6_gso_pull_exthdrs() 162 struct ipv6_opt_hdr *opth = (void *)iph; in ipv6_exthdrs_len()
|
D | ipv6_sockglue.c | 322 struct ipv6_opt_hdr *new = NULL; in ipv6_set_opt_hdr() 337 if (optlen < sizeof(struct ipv6_opt_hdr) || in ipv6_set_opt_hdr() 1017 struct ipv6_opt_hdr *hdr; in ipv6_getsockopt_sticky() 1030 hdr = (struct ipv6_opt_hdr *)opt->srcrt; in ipv6_getsockopt_sticky()
|
D | esp6_offload.c | 33 struct ipv6_opt_hdr *exthdr; in esp6_nexthdr_esp_offset()
|
D | ip6_tunnel.c | 434 struct ipv6_opt_hdr *hdr; in ip6_tnl_parse_tlv_enc_lim() 440 hdr = (struct ipv6_opt_hdr *)(skb->data + off); in ip6_tnl_parse_tlv_enc_lim() 1024 opt->ops.dst1opt = (struct ipv6_opt_hdr *) opt->dst_opt; in init_tel_txopt()
|
D | ip6_output.c | 1269 static inline struct ipv6_opt_hdr *ip6_opt_dup(struct ipv6_opt_hdr *src, in ip6_opt_dup()
|
/Linux-v5.10/include/uapi/linux/ |
D | ipv6.h | 62 struct ipv6_opt_hdr { struct 70 #define ipv6_destopt_hdr ipv6_opt_hdr argument 71 #define ipv6_hopopt_hdr ipv6_opt_hdr
|
/Linux-v5.10/net/ipv6/netfilter/ |
D | ip6t_ipv6header.c | 46 const struct ipv6_opt_hdr *hp; in ipv6header_mt6() 47 struct ipv6_opt_hdr _hdr; in ipv6header_mt6() 56 if (len < (int)sizeof(struct ipv6_opt_hdr)) in ipv6header_mt6()
|
D | ip6t_hbh.c | 46 struct ipv6_opt_hdr _optsh; in hbh_mt6() 47 const struct ipv6_opt_hdr *oh; in hbh_mt6()
|
D | nf_log_ipv6.c | 74 struct ipv6_opt_hdr _hdr; in dump_ipv6_packet() 75 const struct ipv6_opt_hdr *hp; in dump_ipv6_packet()
|
D | nf_conntrack_reasm.c | 401 struct ipv6_opt_hdr hdr; in find_prev_fhdr() 411 if (len < (int)sizeof(struct ipv6_opt_hdr)) { in find_prev_fhdr()
|
/Linux-v5.10/include/net/ |
D | ipv6.h | 297 struct ipv6_opt_hdr *hopopt; 298 struct ipv6_opt_hdr *dst0opt; 300 struct ipv6_opt_hdr *dst1opt; 436 struct ipv6_opt_hdr *newopt);
|
/Linux-v5.10/net/sched/ |
D | act_csum.c | 447 static int tcf_csum_ipv6_hopopts(struct ipv6_opt_hdr *ip6xh, unsigned int ixhl, in tcf_csum_ipv6_hopopts() 486 struct ipv6_opt_hdr *ip6xh; in tcf_csum_ipv6()
|
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | bpf_flow.c | 335 struct ipv6_opt_hdr *ip6h, _ip6h; in PROG()
|
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tx.c | 134 struct ipv6_opt_hdr *hp; in iwl_mvm_tx_csum() 144 hp = OPT_HDR(struct ipv6_opt_hdr, skb, off); in iwl_mvm_tx_csum()
|
/Linux-v5.10/net/xfrm/ |
D | xfrm_policy.c | 3384 struct ipv6_opt_hdr *exthdr; in decode_session6() 3408 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in decode_session6() 3419 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in decode_session6()
|
/Linux-v5.10/net/core/ |
D | skbuff.c | 4912 struct ipv6_opt_hdr *hp; in skb_checksum_setup_ipv6() 4916 sizeof(struct ipv6_opt_hdr), in skb_checksum_setup_ipv6() 4921 hp = OPT_HDR(struct ipv6_opt_hdr, skb, off); in skb_checksum_setup_ipv6()
|
/Linux-v5.10/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 1102 struct ipv6_opt_hdr *ehdr = in be_ipv6_exthdr_check() 1103 (struct ipv6_opt_hdr *)(skb->data + offset); in be_ipv6_exthdr_check()
|