Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv6/
H A Dcalipso.c1080 if (!txopts || !txopts->hopopt) in calipso_sock_getattr()
1083 hop = txopts->hopopt; in calipso_sock_getattr()
1135 old = txopts->hopopt; in calipso_sock_setattr()
1161 if (!txopts || !txopts->hopopt) in calipso_sock_delattr()
1164 if (calipso_opt_del(txopts->hopopt, &new_hop)) in calipso_sock_delattr()
1198 if (req_inet->ipv6_opt && req_inet->ipv6_opt->hopopt) in calipso_req_setattr()
1199 old = req_inet->ipv6_opt->hopopt; in calipso_req_setattr()
1238 if (!req_inet->ipv6_opt || !req_inet->ipv6_opt->hopopt) in calipso_req_delattr()
1241 if (calipso_opt_del(req_inet->ipv6_opt->hopopt, &new)) in calipso_req_delattr()
H A Dexthdrs.c1193 if (opt->hopopt) in ipv6_push_nfrag_opts()
1194 ipv6_push_exthdr(skb, proto, NEXTHDR_HOP, opt->hopopt); in ipv6_push_nfrag_opts()
1213 if (opt2->hopopt) in ipv6_dup_options()
1214 *((char **)&opt2->hopopt) += dif; in ipv6_dup_options()
1273 if (newtype != IPV6_HOPOPTS && opt->hopopt) in ipv6_renew_options()
1274 tot_len += CMSG_ALIGN(ipv6_optlen(opt->hopopt)); in ipv6_renew_options()
1299 ipv6_renew_option(IPV6_HOPOPTS, &opt2->hopopt, in ipv6_renew_options()
1300 (opt ? opt->hopopt : NULL), in ipv6_renew_options()
1313 opt2->opt_nflen = (opt2->hopopt ? ipv6_optlen(opt2->hopopt) : 0) + in ipv6_renew_options()
H A Dip6_flowlabel.c325 opt_space->hopopt = fl_opt->hopopt; in fl6_merge_options()
332 opt_space->hopopt = NULL; in fl6_merge_options()
H A Dip6_output.c1443 nopt->hopopt = ip6_opt_dup(opt->hopopt, sk->sk_allocation); in ip6_setup_cork()
1444 if (opt->hopopt && !nopt->hopopt) in ip6_setup_cork()
1937 kfree(opt->hopopt); in ip6_cork_release()
H A Ddatagram.c866 if (opt->hopopt || cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { in ip6_datagram_send_ctl()
882 opt->hopopt = hdr; in ip6_datagram_send_ctl()
H A Dipv6_sockglue.c1032 hdr = opt->hopopt; in ipv6_getsockopt_sticky()
/openbmc/linux/net/bridge/
H A Dbr_multicast.c1095 u8 *hopopt; in br_ip6_multicast_alloc_query() local
1155 hopopt = (u8 *)(ip6h + 1); in br_ip6_multicast_alloc_query()
1156 hopopt[0] = IPPROTO_ICMPV6; /* next hdr */ in br_ip6_multicast_alloc_query()
1157 hopopt[1] = 0; /* length of HbH */ in br_ip6_multicast_alloc_query()
1158 hopopt[2] = IPV6_TLV_ROUTERALERT; /* Router Alert */ in br_ip6_multicast_alloc_query()
1159 hopopt[3] = 2; /* Length of RA Option */ in br_ip6_multicast_alloc_query()
1160 hopopt[4] = 0; /* Type = 0x0000 (MLD) */ in br_ip6_multicast_alloc_query()
1161 hopopt[5] = 0; in br_ip6_multicast_alloc_query()
1162 hopopt[6] = IPV6_TLV_PAD1; /* Pad1 */ in br_ip6_multicast_alloc_query()
1163 hopopt[7] = IPV6_TLV_PAD1; /* Pad1 */ in br_ip6_multicast_alloc_query()
/openbmc/linux/include/net/
H A Dipv6.h311 struct ipv6_opt_hdr *hopopt; member