Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c613 __builtin_memset(&gopt, 0x0, sizeof(gopt)); in geneve_set_tunnel()
616 gopt.r1 = 0; in geneve_set_tunnel()
617 gopt.r2 = 0; in geneve_set_tunnel()
618 gopt.r3 = 0; in geneve_set_tunnel()
629 ret = bpf_skb_set_tunnel_opt(skb, &gopt, sizeof(gopt)); in geneve_set_tunnel()
651 ret = bpf_skb_get_tunnel_opt(skb, &gopt, sizeof(gopt)); in geneve_get_tunnel()
680 __builtin_memset(&gopt, 0x0, sizeof(gopt)); in ip6geneve_set_tunnel()
683 gopt.r1 = 0; in ip6geneve_set_tunnel()
684 gopt.r2 = 0; in ip6geneve_set_tunnel()
685 gopt.r3 = 0; in ip6geneve_set_tunnel()
[all …]
/openbmc/linux/net/sched/
H A Dsch_htb.c1054 struct tc_htb_glob *gopt; in htb_init() local
1077 gopt = nla_data(tb[TCA_HTB_INIT]); in htb_init()
1078 if (gopt->version != HTB_VER >> 16) in htb_init()
1113 q->defcls = gopt->defcls; in htb_init()
1206 struct tc_htb_glob gopt; in htb_dump() local
1218 gopt.direct_pkts = q->direct_pkts; in htb_dump()
1219 gopt.version = HTB_VER; in htb_dump()
1220 gopt.rate2quantum = q->rate2quantum; in htb_dump()
1221 gopt.defcls = q->defcls; in htb_dump()
1222 gopt.debug = 0; in htb_dump()
[all …]