Home
last modified time | relevance | path

Searched refs:hopt (Results 1 – 2 of 2) sorted by relevance

/linux/net/sched/
H A Dsch_htb.c1770 struct tc_htb_opt *hopt; in htb_change_class() local
1789 hopt = nla_data(tb[TCA_HTB_PARMS]); in htb_change_class()
1790 if (!hopt->rate.rate || !hopt->ceil.rate) in htb_change_class()
1795 if (hopt->rate.overhead || hopt->ceil.overhead) { in htb_change_class()
1799 if (hopt->rate.mpu || hopt->ceil.mpu) { in htb_change_class()
1806 if (hopt->rate.linklayer == TC_LINKLAYER_UNAWARE) in htb_change_class()
1807 qdisc_put_rtab(qdisc_get_rtab(&hopt in htb_change_class()
[all...]
/linux/net/netfilter/
H A Dnf_flow_table_ip.c691 struct ipv6_opt_hdr *hopt; in nf_flow_tunnel_ip6ip6_push() local
696 hopt = skb_push(skb, ipv6_optlen(opt.ops.dst1opt)); in nf_flow_tunnel_ip6ip6_push()
697 memcpy(hopt, opt.ops.dst1opt, ipv6_optlen(opt.ops.dst1opt)); in nf_flow_tunnel_ip6ip6_push()
698 hopt->nexthdr = IPPROTO_IPV6; in nf_flow_tunnel_ip6ip6_push()