Home
last modified time | relevance | path

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

/samples/bpf/
Dsockex3_kern.c122 static void update_stats(struct __sk_buff *skb, struct globals *g) in update_stats() argument
124 struct flow_key_record key = g->flow; in update_stats()
139 struct globals *g, __u32 ip_proto) in parse_ip_proto() argument
179 g->flow.ports = load_word(skb, nhoff); in parse_ip_proto()
181 g->flow.ip_proto = ip_proto; in parse_ip_proto()
182 update_stats(skb, g); in parse_ip_proto()
191 struct globals *g = this_cpu_globals(); in PROG() local
194 if (!g) in PROG()
205 g->flow.src = load_word(skb, nhoff + offsetof(struct iphdr, saddr)); in PROG()
206 g->flow.dst = load_word(skb, nhoff + offsetof(struct iphdr, daddr)); in PROG()
[all …]
/samples/pktgen/
DREADME.rst23 -p : ($DST_PORT) destination PORT range (e.g. 433-444) is also allowed
32 The global variable being set is also listed. E.g. the required