Home
last modified time | relevance | path

Searched refs:ipv6_opt_hdr (Results 1 – 23 of 23) sorted by relevance

/Linux-v4.19/net/ipv6/
Dcalipso.c798 static int calipso_opt_update(struct sock *sk, struct ipv6_opt_hdr *hop) in calipso_opt_update()
826 static int calipso_tlv_len(struct ipv6_opt_hdr *opt, unsigned int offset) in calipso_tlv_len()
864 static int calipso_opt_find(struct ipv6_opt_hdr *hop, unsigned int *start, in calipso_opt_find()
925 static struct ipv6_opt_hdr *
926 calipso_opt_insert(struct ipv6_opt_hdr *hop, in calipso_opt_insert()
931 struct ipv6_opt_hdr *new; in calipso_opt_insert()
989 static int calipso_opt_del(struct ipv6_opt_hdr *hop, in calipso_opt_del()
990 struct ipv6_opt_hdr **new) in calipso_opt_del()
1092 struct ipv6_opt_hdr *hop; in calipso_sock_getattr()
1147 struct ipv6_opt_hdr *old, *new; in calipso_sock_setattr()
[all …]
Dexthdrs_core.c79 struct ipv6_opt_hdr _hdr, *hp; in ipv6_skip_exthdr()
119 struct ipv6_opt_hdr *hdr; in ipv6_find_tlv()
124 hdr = (struct ipv6_opt_hdr *)(nh + offset); in ipv6_find_tlv()
208 struct ipv6_opt_hdr _hdr, *hp; in ipv6_find_hdr()
Doutput_core.c88 struct ipv6_opt_hdr *exthdr; in ip6_find_1stfragopt()
109 if (offset + sizeof(struct ipv6_opt_hdr) > packet_len) in ip6_find_1stfragopt()
112 exthdr = (struct ipv6_opt_hdr *)(skb_network_header(skb) + in ip6_find_1stfragopt()
Dmip6.c266 struct ipv6_opt_hdr *exthdr = in mip6_destopt_offset()
267 (struct ipv6_opt_hdr *)(ipv6_hdr(skb) + 1); in mip6_destopt_offset()
304 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in mip6_destopt_offset()
402 struct ipv6_opt_hdr *exthdr = in mip6_rthdr_offset()
403 (struct ipv6_opt_hdr *)(ipv6_hdr(skb) + 1); in mip6_rthdr_offset()
439 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in mip6_rthdr_offset()
Dexthdrs.c962 static void ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt) in ipv6_push_exthdr()
964 struct ipv6_opt_hdr *h = skb_push(skb, ipv6_optlen(opt)); in ipv6_push_exthdr()
1019 struct ipv6_opt_hdr **dest, in ipv6_renew_option()
1020 struct ipv6_opt_hdr *old, in ipv6_renew_option()
1021 struct ipv6_opt_hdr *new, in ipv6_renew_option()
1024 struct ipv6_opt_hdr *src; in ipv6_renew_option()
1031 *dest = (struct ipv6_opt_hdr *)*p; in ipv6_renew_option()
1058 int newtype, struct ipv6_opt_hdr *newopt) in ipv6_renew_options()
1098 (struct ipv6_opt_hdr **)&opt2->srcrt, in ipv6_renew_options()
1099 (opt ? (struct ipv6_opt_hdr *)opt->srcrt : NULL), in ipv6_renew_options()
Ddatagram.c747 struct ipv6_opt_hdr *hdr; in ip6_datagram_send_ctl()
842 if (opt->hopopt || cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl()
847 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
862 if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl()
867 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
887 if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl()
892 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
Dxfrm6_policy.c128 struct ipv6_opt_hdr *exthdr; in _decode_session6()
152 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in _decode_session6()
163 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in _decode_session6()
Dah6.c117 static bool zero_out_mutable_opts(struct ipv6_opt_hdr *opthdr) in zero_out_mutable_opts()
161 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) in ipv6_rearrange_destopt()
214 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) {} in ipv6_rearrange_destopt()
260 struct ipv6_opt_hdr *opth; in ipv6_clear_mutable_options()
Dip6_offload.c28 struct ipv6_opt_hdr *opth; in ipv6_gso_pull_exthdrs()
147 struct ipv6_opt_hdr *opth = (void *)iph; in ipv6_exthdrs_len()
Dipv6_sockglue.c401 struct ipv6_opt_hdr *new = NULL; in do_ipv6_setsockopt()
415 else if (optlen < sizeof(struct ipv6_opt_hdr) || in do_ipv6_setsockopt()
980 struct ipv6_opt_hdr *hdr; in ipv6_getsockopt_sticky()
993 hdr = (struct ipv6_opt_hdr *)opt->srcrt; in ipv6_getsockopt_sticky()
Desp6_offload.c36 struct ipv6_opt_hdr *exthdr; in esp6_nexthdr_esp_offset()
Dip6_tunnel.c411 struct ipv6_opt_hdr *hdr; in ip6_tnl_parse_tlv_enc_lim()
417 hdr = (struct ipv6_opt_hdr *)(skb->data + off); in ip6_tnl_parse_tlv_enc_lim()
954 opt->ops.dst1opt = (struct ipv6_opt_hdr *) opt->dst_opt; in init_tel_txopt()
Dip6_output.c1123 static inline struct ipv6_opt_hdr *ip6_opt_dup(struct ipv6_opt_hdr *src, in ip6_opt_dup()
/Linux-v4.19/include/uapi/linux/
Dipv6.h61 struct ipv6_opt_hdr { struct
69 #define ipv6_destopt_hdr ipv6_opt_hdr argument
70 #define ipv6_hopopt_hdr ipv6_opt_hdr
/Linux-v4.19/net/ipv6/netfilter/
Dip6t_ipv6header.c49 const struct ipv6_opt_hdr *hp; in ipv6header_mt6()
50 struct ipv6_opt_hdr _hdr; in ipv6header_mt6()
59 if (len < (int)sizeof(struct ipv6_opt_hdr)) in ipv6header_mt6()
Dip6t_hbh.c49 struct ipv6_opt_hdr _optsh; in hbh_mt6()
50 const struct ipv6_opt_hdr *oh; in hbh_mt6()
Dnf_log_ipv6.c77 struct ipv6_opt_hdr _hdr; in dump_ipv6_packet()
78 const struct ipv6_opt_hdr *hp; in dump_ipv6_packet()
Dnf_conntrack_reasm.c497 struct ipv6_opt_hdr hdr; in find_prev_fhdr()
507 if (len < (int)sizeof(struct ipv6_opt_hdr)) { in find_prev_fhdr()
/Linux-v4.19/include/net/
Dipv6.h257 struct ipv6_opt_hdr *hopopt;
258 struct ipv6_opt_hdr *dst0opt;
260 struct ipv6_opt_hdr *dst1opt;
378 struct ipv6_opt_hdr *newopt);
/Linux-v4.19/net/sched/
Dact_csum.c439 static int tcf_csum_ipv6_hopopts(struct ipv6_opt_hdr *ip6xh, unsigned int ixhl, in tcf_csum_ipv6_hopopts()
478 struct ipv6_opt_hdr *ip6xh; in tcf_csum_ipv6()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dtx.c140 struct ipv6_opt_hdr *hp; in iwl_mvm_tx_csum()
150 hp = OPT_HDR(struct ipv6_opt_hdr, skb, off); in iwl_mvm_tx_csum()
/Linux-v4.19/net/core/
Dskbuff.c4604 struct ipv6_opt_hdr *hp; in skb_checksum_setup_ipv6()
4608 sizeof(struct ipv6_opt_hdr), in skb_checksum_setup_ipv6()
4613 hp = OPT_HDR(struct ipv6_opt_hdr, skb, off); in skb_checksum_setup_ipv6()
/Linux-v4.19/drivers/net/ethernet/emulex/benet/
Dbe_main.c1102 struct ipv6_opt_hdr *ehdr = in be_ipv6_exthdr_check()
1103 (struct ipv6_opt_hdr *)(skb->data + offset); in be_ipv6_exthdr_check()