| /linux/net/ipv6/ |
| H A D | calipso.c | 776 static int calipso_opt_update(struct sock *sk, struct ipv6_opt_hdr *hop) in calipso_opt_update() 804 static int calipso_tlv_len(struct ipv6_opt_hdr *opt, unsigned int offset) in calipso_tlv_len() 842 static int calipso_opt_find(struct ipv6_opt_hdr *hop, unsigned int *start, in calipso_opt_find() 903 static struct ipv6_opt_hdr * 904 calipso_opt_insert(struct ipv6_opt_hdr *hop, in calipso_opt_insert() 909 struct ipv6_opt_hdr *new; in calipso_opt_insert() 967 static int calipso_opt_del(struct ipv6_opt_hdr *hop, in calipso_opt_del() 968 struct ipv6_opt_hdr **new) in calipso_opt_del() 1071 struct ipv6_opt_hdr *hop; in calipso_sock_getattr() 1131 struct ipv6_opt_hdr *old, *new; in calipso_sock_setattr() [all …]
|
| H A D | exthdrs_core.c | 81 struct ipv6_opt_hdr _hdr, *hp; in ipv6_skip_exthdr() 123 struct ipv6_opt_hdr *hdr; in ipv6_find_tlv() 128 hdr = (struct ipv6_opt_hdr *)(nh + offset); in ipv6_find_tlv() 213 struct ipv6_opt_hdr _hdr, *hp; in ipv6_find_hdr()
|
| H A D | exthdrs.c | 1192 static u8 ipv6_push_exthdr(struct sk_buff *skb, u8 proto, u8 type, struct ipv6_opt_hdr *opt) in ipv6_push_exthdr() 1194 struct ipv6_opt_hdr *h = skb_push(skb, ipv6_optlen(opt)); in ipv6_push_exthdr() 1250 struct ipv6_opt_hdr **dest, in ipv6_renew_option() 1251 struct ipv6_opt_hdr *old, in ipv6_renew_option() 1252 struct ipv6_opt_hdr *new, in ipv6_renew_option() 1255 struct ipv6_opt_hdr *src; in ipv6_renew_option() 1262 *dest = (struct ipv6_opt_hdr *)*p; in ipv6_renew_option() 1288 int newtype, struct ipv6_opt_hdr *newopt) in ipv6_renew_options() 1328 (struct ipv6_opt_hdr **)&opt2->srcrt, in ipv6_renew_options() 1329 (opt ? (struct ipv6_opt_hdr *)opt->srcrt : NULL), in ipv6_renew_options()
|
| H A D | datagram.c | 805 struct ipv6_opt_hdr *hdr; in ip6_datagram_send_ctl() 904 if (opt->hopopt || 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() 924 if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl() 929 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 949 if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl() 954 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
|
| H A D | ah6.c | 130 static bool zero_out_mutable_opts(struct ipv6_opt_hdr *opthdr) in zero_out_mutable_opts() 174 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) in ipv6_rearrange_destopt() 224 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) {} in ipv6_rearrange_destopt() 274 struct ipv6_opt_hdr *opth; in ipv6_clear_mutable_options()
|
| 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() 414 hdr = (struct ipv6_opt_hdr *)(skb->data + off); in ip6_tnl_parse_tlv_enc_lim() 426 hdr = (struct ipv6_opt_hdr *)(skb->data + off); in ip6_tnl_parse_tlv_enc_lim() 1018 opt->ops.dst1opt = (struct ipv6_opt_hdr *) opt->dst_opt; in init_tel_txopt()
|
| H A D | ip6_output.c | 1338 static inline struct ipv6_opt_hdr *ip6_opt_dup(struct ipv6_opt_hdr *src, in ip6_opt_dup()
|
| H A D | seg6_local.c | 719 struct ipv6_opt_hdr *hp, _hdr; in seg6_pop_srh()
|
| /linux/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 | 407 struct ipv6_opt_hdr hdr; in find_prev_fhdr() 417 if (len < (int)sizeof(struct ipv6_opt_hdr)) { in find_prev_fhdr()
|
| /linux/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/net/xfrm/ |
| H A D | xfrm_output.c | 94 struct ipv6_opt_hdr *exthdr; in mip6_rthdr_offset() 127 if (offset + sizeof(struct ipv6_opt_hdr) > packet_len) in mip6_rthdr_offset() 130 exthdr = (struct ipv6_opt_hdr *)(skb_network_header(skb) + in mip6_rthdr_offset()
|
| /linux/net/sched/ |
| H A D | act_csum.c | 452 static int tcf_csum_ipv6_hopopts(struct ipv6_opt_hdr *ip6xh, unsigned int ixhl, in tcf_csum_ipv6_hopopts() 491 struct ipv6_opt_hdr *ip6xh; in tcf_csum_ipv6()
|
| /linux/net/netfilter/ |
| H A D | nf_log_syslog.c | 584 struct ipv6_opt_hdr _hdr; in dump_ipv6_packet() 585 const struct ipv6_opt_hdr *hp; in dump_ipv6_packet()
|
| H A D | nfnetlink_queue.c | 1348 const struct ipv6_opt_hdr *hp; in nfqnl_validate_exthdr() 1349 struct ipv6_opt_hdr _hdr; in nfqnl_validate_exthdr()
|
| /linux/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 | 615 struct ipv6_opt_hdr ip6_opt_hdr; in decap_internal()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | tx.c | 249 struct ipv6_opt_hdr *hp; in iwl_mld_get_offload_assist() 259 hp = OPT_HDR(struct ipv6_opt_hdr, skb, off); in iwl_mld_get_offload_assist()
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | gro.c | |
| /linux/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/net/openvswitch/ |
| H A D | flow.c | 279 struct ipv6_opt_hdr _hdr, *hp; in get_ipv6_ext_hdrs()
|
| /linux/net/core/ |
| H A D | skbuff.c | 5975 struct ipv6_opt_hdr *hp; in skb_checksum_setup_ipv6() 5979 sizeof(struct ipv6_opt_hdr), in skb_checksum_setup_ipv6() 5984 hp = OPT_HDR(struct ipv6_opt_hdr, skb, off); in skb_checksum_setup_ipv6()
|
| /linux/drivers/net/ethernet/emulex/benet/ |
| H A D | be_main.c | 1101 struct ipv6_opt_hdr *ehdr = in be_ipv6_exthdr_check() 1102 (struct ipv6_opt_hdr *)(skb->data + offset); in be_ipv6_exthdr_check()
|