Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/linux/
Dipv6.h59 struct ipv6_opt_hdr { struct
67 #define ipv6_destopt_hdr ipv6_opt_hdr argument
68 #define ipv6_hopopt_hdr ipv6_opt_hdr
/linux-4.1.27/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.c528 struct ipv6_opt_hdr hdr; in find_prev_fhdr()
538 if (len < (int)sizeof(struct ipv6_opt_hdr)) { in find_prev_fhdr()
/linux-4.1.27/net/ipv6/
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()
210 struct ipv6_opt_hdr _hdr, *hp; in ipv6_find_hdr()
Dexthdrs.c680 static void ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt) in ipv6_push_exthdr()
682 struct ipv6_opt_hdr *h = (struct ipv6_opt_hdr *)skb_push(skb, ipv6_optlen(opt)); in ipv6_push_exthdr()
737 struct ipv6_opt_hdr __user *newopt, int newoptlen, in ipv6_renew_option()
739 struct ipv6_opt_hdr **hdr, in ipv6_renew_option()
744 memcpy(*p, ohdr, ipv6_optlen((struct ipv6_opt_hdr *)ohdr)); in ipv6_renew_option()
745 *hdr = (struct ipv6_opt_hdr *)*p; in ipv6_renew_option()
752 *hdr = (struct ipv6_opt_hdr *)*p; in ipv6_renew_option()
764 struct ipv6_opt_hdr __user *newopt, int newoptlen) in ipv6_renew_options()
812 (struct ipv6_opt_hdr **)&opt2->srcrt, &p); in ipv6_renew_options()
Doutput_core.c80 struct ipv6_opt_hdr *exthdr = in ip6_find_1stfragopt()
81 (struct ipv6_opt_hdr *)(ipv6_hdr(skb) + 1); in ip6_find_1stfragopt()
110 exthdr = (struct ipv6_opt_hdr *)(skb_network_header(skb) + in ip6_find_1stfragopt()
Dmip6.c268 struct ipv6_opt_hdr *exthdr = in mip6_destopt_offset()
269 (struct ipv6_opt_hdr *)(ipv6_hdr(skb) + 1); in mip6_destopt_offset()
306 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in mip6_destopt_offset()
404 struct ipv6_opt_hdr *exthdr = in mip6_rthdr_offset()
405 (struct ipv6_opt_hdr *)(ipv6_hdr(skb) + 1); in mip6_rthdr_offset()
441 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in mip6_rthdr_offset()
Ddatagram.c693 struct ipv6_opt_hdr *hdr; in ip6_datagram_send_ctl()
779 if (opt->hopopt || cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl()
784 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
799 if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl()
804 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
824 if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl()
829 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
Dxfrm6_policy.c133 struct ipv6_opt_hdr *exthdr; in _decode_session6()
157 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in _decode_session6()
167 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in _decode_session6()
Dah6.c116 static bool zero_out_mutable_opts(struct ipv6_opt_hdr *opthdr) in zero_out_mutable_opts()
160 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) in ipv6_rearrange_destopt()
213 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) {} in ipv6_rearrange_destopt()
259 struct ipv6_opt_hdr *opth; in ipv6_clear_mutable_options()
Dip6_offload.c27 struct ipv6_opt_hdr *opth; in ipv6_gso_pull_exthdrs()
146 struct ipv6_opt_hdr *opth = (void *)iph; in ipv6_exthdrs_len()
Dipv6_sockglue.c401 else if (optlen < sizeof(struct ipv6_opt_hdr) || in do_ipv6_setsockopt()
412 (struct ipv6_opt_hdr __user *)optval, in do_ipv6_setsockopt()
949 struct ipv6_opt_hdr *hdr; in ipv6_getsockopt_sticky()
962 hdr = (struct ipv6_opt_hdr *)opt->srcrt; in ipv6_getsockopt_sticky()
Dip6_tunnel.c427 struct ipv6_opt_hdr *hdr; in ip6_tnl_parse_tlv_enc_lim()
432 hdr = (struct ipv6_opt_hdr *) (raw + off); in ip6_tnl_parse_tlv_enc_lim()
896 opt->ops.dst0opt = (struct ipv6_opt_hdr *) opt->dst_opt; in init_tel_txopt()
Dip6_output.c1124 static inline struct ipv6_opt_hdr *ip6_opt_dup(struct ipv6_opt_hdr *src, in ip6_opt_dup()
Dip6_gre.c598 opt->ops.dst0opt = (struct ipv6_opt_hdr *) opt->dst_opt; in init_tel_txopt()
/linux-4.1.27/include/net/
Dipv6.h217 struct ipv6_opt_hdr *hopopt;
218 struct ipv6_opt_hdr *dst0opt;
220 struct ipv6_opt_hdr *dst1opt;
303 struct ipv6_opt_hdr __user *newopt,
/linux-4.1.27/net/sched/
Dact_csum.c381 static int tcf_csum_ipv6_hopopts(struct ipv6_opt_hdr *ip6xh, in tcf_csum_ipv6_hopopts()
420 struct ipv6_opt_hdr *ip6xh; in tcf_csum_ipv6()
/linux-4.1.27/net/core/
Dskbuff.c3937 struct ipv6_opt_hdr *hp; in skb_checksum_setup_ipv6()
3941 sizeof(struct ipv6_opt_hdr), in skb_checksum_setup_ipv6()
3946 hp = OPT_HDR(struct ipv6_opt_hdr, skb, off); in skb_checksum_setup_ipv6()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c1013 struct ipv6_opt_hdr *ehdr = in be_ipv6_exthdr_check()
1014 (struct ipv6_opt_hdr *)(skb->data + offset); in be_ipv6_exthdr_check()