Home
last modified time | relevance | path

Searched refs:hopopt (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/net/ipv6/
Dexthdrs.c702 if (opt->hopopt) in ipv6_push_nfrag_opts()
703 ipv6_push_exthdr(skb, proto, NEXTHDR_HOP, opt->hopopt); in ipv6_push_nfrag_opts()
722 if (opt2->hopopt) in ipv6_dup_options()
723 *((char **)&opt2->hopopt) += dif; in ipv6_dup_options()
772 if (newtype != IPV6_HOPOPTS && opt->hopopt) in ipv6_renew_options()
773 tot_len += CMSG_ALIGN(ipv6_optlen(opt->hopopt)); in ipv6_renew_options()
798 err = ipv6_renew_option(opt ? opt->hopopt : NULL, newopt, newoptlen, in ipv6_renew_options()
800 &opt2->hopopt, &p); in ipv6_renew_options()
822 opt2->opt_nflen = (opt2->hopopt ? ipv6_optlen(opt2->hopopt) : 0) + in ipv6_renew_options()
Dip6_flowlabel.c304 opt_space->hopopt = fl_opt->hopopt; in fl6_merge_options()
311 opt_space->hopopt = NULL; in fl6_merge_options()
Dip6_output.c1193 v6_cork->opt->hopopt = ip6_opt_dup(opt->hopopt, in ip6_setup_cork()
1195 if (opt->hopopt && !v6_cork->opt->hopopt) in ip6_setup_cork()
1586 kfree(v6_cork->opt->hopopt); in ip6_cork_release()
Ddatagram.c779 if (opt->hopopt || cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl()
795 opt->hopopt = hdr; in ip6_datagram_send_ctl()
Dipv6_sockglue.c956 hdr = opt->hopopt; in ipv6_getsockopt_sticky()
/linux-4.1.27/net/bridge/
Dbr_multicast.c423 u8 *hopopt; in br_ip6_multicast_alloc_query() local
457 hopopt = (u8 *)(ip6h + 1); in br_ip6_multicast_alloc_query()
458 hopopt[0] = IPPROTO_ICMPV6; /* next hdr */ in br_ip6_multicast_alloc_query()
459 hopopt[1] = 0; /* length of HbH */ in br_ip6_multicast_alloc_query()
460 hopopt[2] = IPV6_TLV_ROUTERALERT; /* Router Alert */ in br_ip6_multicast_alloc_query()
461 hopopt[3] = 2; /* Length of RA Option */ in br_ip6_multicast_alloc_query()
462 hopopt[4] = 0; /* Type = 0x0000 (MLD) */ in br_ip6_multicast_alloc_query()
463 hopopt[5] = 0; in br_ip6_multicast_alloc_query()
464 hopopt[6] = IPV6_TLV_PAD1; /* Pad1 */ in br_ip6_multicast_alloc_query()
465 hopopt[7] = IPV6_TLV_PAD1; /* Pad1 */ in br_ip6_multicast_alloc_query()
/linux-4.1.27/include/net/
Dipv6.h217 struct ipv6_opt_hdr *hopopt; member