Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/net/ipv6/
A Dcalipso.c907 static struct ipv6_opt_hdr *
913 struct ipv6_opt_hdr *new; in calipso_opt_insert()
972 struct ipv6_opt_hdr **new) in calipso_opt_del()
1075 struct ipv6_opt_hdr *hop; in calipso_sock_getattr()
1130 struct ipv6_opt_hdr *old, *new; in calipso_sock_setattr()
1158 struct ipv6_opt_hdr *new_hop; in calipso_sock_delattr()
1195 struct ipv6_opt_hdr *old, *new; in calipso_req_setattr()
1234 struct ipv6_opt_hdr *new; in calipso_req_delattr()
1300 struct ipv6_opt_hdr *hop; in calipso_skbuff_setattr()
1346 struct ipv6_opt_hdr *new_hop = (struct ipv6_opt_hdr *)buf; in calipso_skbuff_setattr()
[all …]
A Dexthdrs_core.c80 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()
A Doutput_core.c67 struct ipv6_opt_hdr *exthdr; in ip6_find_1stfragopt()
88 if (offset + sizeof(struct ipv6_opt_hdr) > packet_len) in ip6_find_1stfragopt()
91 exthdr = (struct ipv6_opt_hdr *)(skb_network_header(skb) + in ip6_find_1stfragopt()
A Dexthdrs.c1199 static void ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt) in ipv6_push_exthdr()
1201 struct ipv6_opt_hdr *h = skb_push(skb, ipv6_optlen(opt)); in ipv6_push_exthdr()
1256 struct ipv6_opt_hdr **dest, in ipv6_renew_option()
1257 struct ipv6_opt_hdr *old, in ipv6_renew_option()
1258 struct ipv6_opt_hdr *new, in ipv6_renew_option()
1261 struct ipv6_opt_hdr *src; in ipv6_renew_option()
1268 *dest = (struct ipv6_opt_hdr *)*p; in ipv6_renew_option()
1294 int newtype, struct ipv6_opt_hdr *newopt) in ipv6_renew_options()
1334 (struct ipv6_opt_hdr **)&opt2->srcrt, in ipv6_renew_options()
1335 (opt ? (struct ipv6_opt_hdr *)opt->srcrt : NULL), in ipv6_renew_options()
A Ddatagram.c766 struct ipv6_opt_hdr *hdr; in ip6_datagram_send_ctl()
865 if (opt->hopopt || cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl()
870 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
885 if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl()
890 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
910 if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl()
915 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
A Dah6.c105 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()
199 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) {} in ipv6_rearrange_destopt()
245 struct ipv6_opt_hdr *opth; in ipv6_clear_mutable_options()
A Dip6_offload.c44 struct ipv6_opt_hdr *opth; in ipv6_gso_pull_exthdrs()
168 struct ipv6_opt_hdr *opth = (void *)iph; in ipv6_exthdrs_len()
A Dipv6_sockglue.c324 struct ipv6_opt_hdr *new = NULL; in ipv6_set_opt_hdr()
339 if (optlen < sizeof(struct ipv6_opt_hdr) || in ipv6_set_opt_hdr()
1025 struct ipv6_opt_hdr *hdr; in ipv6_getsockopt_sticky()
1038 hdr = (struct ipv6_opt_hdr *)opt->srcrt; in ipv6_getsockopt_sticky()
A Desp6_offload.c34 struct ipv6_opt_hdr *exthdr; in esp6_nexthdr_esp_offset()
A Dip6_tunnel.c405 struct ipv6_opt_hdr *hdr; in ip6_tnl_parse_tlv_enc_lim()
411 hdr = (struct ipv6_opt_hdr *)(skb->data + off); in ip6_tnl_parse_tlv_enc_lim()
986 opt->ops.dst1opt = (struct ipv6_opt_hdr *) opt->dst_opt; in init_tel_txopt()
A Dip6_output.c1354 static inline struct ipv6_opt_hdr *ip6_opt_dup(struct ipv6_opt_hdr *src, in ip6_opt_dup()
A Dseg6_local.c630 struct ipv6_opt_hdr *hp, _hdr; in seg6_pop_srh()
/linux-6.3-rc2/net/ipv6/netfilter/
A Dip6t_ipv6header.c46 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()
A Dip6t_hbh.c46 struct ipv6_opt_hdr _optsh; in hbh_mt6()
47 const struct ipv6_opt_hdr *oh; in hbh_mt6()
A Dnf_conntrack_reasm.c398 struct ipv6_opt_hdr hdr; in find_prev_fhdr()
408 if (len < (int)sizeof(struct ipv6_opt_hdr)) { in find_prev_fhdr()
/linux-6.3-rc2/include/uapi/linux/
A Dipv6.h63 struct ipv6_opt_hdr { struct
71 #define ipv6_destopt_hdr ipv6_opt_hdr argument
72 #define ipv6_hopopt_hdr ipv6_opt_hdr
/linux-6.3-rc2/net/xfrm/
A Dxfrm_output.c92 struct ipv6_opt_hdr *exthdr; in mip6_rthdr_offset()
125 if (offset + sizeof(struct ipv6_opt_hdr) > packet_len) in mip6_rthdr_offset()
128 exthdr = (struct ipv6_opt_hdr *)(skb_network_header(skb) + in mip6_rthdr_offset()
/linux-6.3-rc2/include/net/
A Dipv6.h311 struct ipv6_opt_hdr *hopopt;
312 struct ipv6_opt_hdr *dst0opt;
314 struct ipv6_opt_hdr *dst1opt;
454 struct ipv6_opt_hdr *newopt);
/linux-6.3-rc2/net/sched/
A Dact_csum.c448 static int tcf_csum_ipv6_hopopts(struct ipv6_opt_hdr *ip6xh, unsigned int ixhl, in tcf_csum_ipv6_hopopts()
487 struct ipv6_opt_hdr *ip6xh; in tcf_csum_ipv6()
/linux-6.3-rc2/net/netfilter/
A Dnf_log_syslog.c570 struct ipv6_opt_hdr _hdr; in dump_ipv6_packet()
571 const struct ipv6_opt_hdr *hp; in dump_ipv6_packet()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dbpf_flow.c349 struct ipv6_opt_hdr *ip6h, _ip6h; in PROG()
A Dtest_tc_tunnel.c600 struct ipv6_opt_hdr ip6_opt_hdr; in decap_internal()
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/
A Dtx.c74 struct ipv6_opt_hdr *hp; in iwl_mvm_tx_csum_pre_bz()
84 hp = OPT_HDR(struct ipv6_opt_hdr, skb, off); in iwl_mvm_tx_csum_pre_bz()
/linux-6.3-rc2/net/openvswitch/
A Dflow.c283 struct ipv6_opt_hdr _hdr, *hp; in get_ipv6_ext_hdrs()
/linux-6.3-rc2/net/core/
A Dskbuff.c5380 struct ipv6_opt_hdr *hp; in skb_checksum_setup_ipv6()
5384 sizeof(struct ipv6_opt_hdr), in skb_checksum_setup_ipv6()
5389 hp = OPT_HDR(struct ipv6_opt_hdr, skb, off); in skb_checksum_setup_ipv6()

Completed in 73 milliseconds

12