| /linux-6.15/net/ipv6/ |
| H A D | calipso.c | 904 static struct ipv6_opt_hdr * 910 struct ipv6_opt_hdr *new; in calipso_opt_insert() 969 struct ipv6_opt_hdr **new) in calipso_opt_del() 1072 struct ipv6_opt_hdr *hop; in calipso_sock_getattr() 1132 struct ipv6_opt_hdr *old, *new; in calipso_sock_setattr() 1165 struct ipv6_opt_hdr *new_hop; in calipso_sock_delattr() 1207 struct ipv6_opt_hdr *old, *new; in calipso_req_setattr() 1246 struct ipv6_opt_hdr *new; in calipso_req_delattr() 1312 struct ipv6_opt_hdr *hop; in calipso_skbuff_setattr() 1358 struct ipv6_opt_hdr *new_hop = (struct ipv6_opt_hdr *)buf; in calipso_skbuff_setattr() [all …]
|
| H A 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() 209 struct ipv6_opt_hdr _hdr, *hp; in ipv6_find_hdr()
|
| H A D | output_core.c | 67 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()
|
| H A D | exthdrs.c | 1169 static void ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt) in ipv6_push_exthdr() 1171 struct ipv6_opt_hdr *h = skb_push(skb, ipv6_optlen(opt)); in ipv6_push_exthdr() 1225 struct ipv6_opt_hdr **dest, in ipv6_renew_option() 1226 struct ipv6_opt_hdr *old, in ipv6_renew_option() 1227 struct ipv6_opt_hdr *new, in ipv6_renew_option() 1230 struct ipv6_opt_hdr *src; in ipv6_renew_option() 1237 *dest = (struct ipv6_opt_hdr *)*p; in ipv6_renew_option() 1263 int newtype, struct ipv6_opt_hdr *newopt) in ipv6_renew_options() 1303 (struct ipv6_opt_hdr **)&opt2->srcrt, in ipv6_renew_options() 1304 (opt ? (struct ipv6_opt_hdr *)opt->srcrt : NULL), in ipv6_renew_options()
|
| H A D | datagram.c | 766 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()
|
| H A D | ip6_offload.c | 43 struct ipv6_opt_hdr *opth; in ipv6_gro_pull_exthdrs() 79 struct ipv6_opt_hdr *opth; in ipv6_gso_pull_exthdrs() 201 struct ipv6_opt_hdr *opth = (void *)iph; in ipv6_exthdrs_len()
|
| H A D | ah6.c | 102 static bool zero_out_mutable_opts(struct ipv6_opt_hdr *opthdr) in zero_out_mutable_opts() 146 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) in ipv6_rearrange_destopt() 196 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) {} in ipv6_rearrange_destopt() 242 struct ipv6_opt_hdr *opth; in ipv6_clear_mutable_options()
|
| H A D | ipv6_sockglue.c | 323 struct ipv6_opt_hdr *new = NULL; in ipv6_set_opt_hdr() 338 if (optlen < sizeof(struct ipv6_opt_hdr) || in ipv6_set_opt_hdr() 1007 struct ipv6_opt_hdr *hdr; in ipv6_getsockopt_sticky() 1020 hdr = (struct ipv6_opt_hdr *)opt->srcrt; in ipv6_getsockopt_sticky()
|
| H A D | esp6_offload.c | 35 struct ipv6_opt_hdr *exthdr; in esp6_nexthdr_esp_offset()
|
| H A D | ip6_tunnel.c | 405 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() 423 hdr = (struct ipv6_opt_hdr *)(skb->data + off); in ip6_tnl_parse_tlv_enc_lim() 1003 opt->ops.dst1opt = (struct ipv6_opt_hdr *) opt->dst_opt; in init_tel_txopt()
|
| H A D | ip6_output.c | 1305 static inline struct ipv6_opt_hdr *ip6_opt_dup(struct ipv6_opt_hdr *src, in ip6_opt_dup()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | ipv6.h | 63 struct ipv6_opt_hdr { struct 71 #define ipv6_destopt_hdr ipv6_opt_hdr argument 72 #define ipv6_hopopt_hdr ipv6_opt_hdr
|
| /linux-6.15/net/ipv6/netfilter/ |
| H A 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()
|
| H A D | ip6t_hbh.c | 46 struct ipv6_opt_hdr _optsh; in hbh_mt6() 47 const struct ipv6_opt_hdr *oh; in hbh_mt6()
|
| H A D | nf_conntrack_reasm.c | 406 struct ipv6_opt_hdr hdr; in find_prev_fhdr() 416 if (len < (int)sizeof(struct ipv6_opt_hdr)) { in find_prev_fhdr()
|
| /linux-6.15/include/net/ |
| H A D | ipv6.h | 314 struct ipv6_opt_hdr *hopopt; 315 struct ipv6_opt_hdr *dst0opt; 317 struct ipv6_opt_hdr *dst1opt; 450 struct ipv6_opt_hdr *newopt);
|
| /linux-6.15/net/xfrm/ |
| H A D | xfrm_output.c | 93 struct ipv6_opt_hdr *exthdr; in mip6_rthdr_offset() 126 if (offset + sizeof(struct ipv6_opt_hdr) > packet_len) in mip6_rthdr_offset() 129 exthdr = (struct ipv6_opt_hdr *)(skb_network_header(skb) + in mip6_rthdr_offset()
|
| /linux-6.15/net/sched/ |
| H A 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-6.15/net/netfilter/ |
| H A D | nf_log_syslog.c | 573 struct ipv6_opt_hdr _hdr; in dump_ipv6_packet() 574 const struct ipv6_opt_hdr *hp; in dump_ipv6_packet()
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_flow.c | 349 struct ipv6_opt_hdr *ip6h, _ip6h; in PROG()
|
| H A D | test_tc_tunnel.c | 603 struct ipv6_opt_hdr ip6_opt_hdr; in decap_internal()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | tx.c | 244 struct ipv6_opt_hdr *hp; in iwl_mld_get_offload_assist() 254 hp = OPT_HDR(struct ipv6_opt_hdr, skb, off); in iwl_mld_get_offload_assist()
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | gro.c | 607 struct ipv6_opt_hdr *exthdr = (struct ipv6_opt_hdr *)(optpkt + tcp_offset); in add_ipv6_exthdr()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | tx.c | 78 struct ipv6_opt_hdr *hp; in iwl_mvm_tx_csum() 88 hp = OPT_HDR(struct ipv6_opt_hdr, skb, off); in iwl_mvm_tx_csum()
|
| /linux-6.15/net/openvswitch/ |
| H A D | flow.c | 283 struct ipv6_opt_hdr _hdr, *hp; in get_ipv6_ext_hdrs()
|