• Home
  • Raw
  • Download

Lines Matching refs:key

49 	struct bpf_tunnel_key key;  in _gre_set_tunnel()  local
51 __builtin_memset(&key, 0x0, sizeof(key)); in _gre_set_tunnel()
52 key.remote_ipv4 = 0xac100164; /* 172.16.1.100 */ in _gre_set_tunnel()
53 key.tunnel_id = 2; in _gre_set_tunnel()
54 key.tunnel_tos = 0; in _gre_set_tunnel()
55 key.tunnel_ttl = 64; in _gre_set_tunnel()
57 ret = bpf_skb_set_tunnel_key(skb, &key, sizeof(key), in _gre_set_tunnel()
71 struct bpf_tunnel_key key; in _gre_get_tunnel() local
74 ret = bpf_skb_get_tunnel_key(skb, &key, sizeof(key), 0); in _gre_get_tunnel()
80 bpf_trace_printk(fmt, sizeof(fmt), key.tunnel_id, key.remote_ipv4); in _gre_get_tunnel()
87 struct bpf_tunnel_key key; in _ip6gretap_set_tunnel() local
90 __builtin_memset(&key, 0x0, sizeof(key)); in _ip6gretap_set_tunnel()
91 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in _ip6gretap_set_tunnel()
92 key.tunnel_id = 2; in _ip6gretap_set_tunnel()
93 key.tunnel_tos = 0; in _ip6gretap_set_tunnel()
94 key.tunnel_ttl = 64; in _ip6gretap_set_tunnel()
95 key.tunnel_label = 0xabcde; in _ip6gretap_set_tunnel()
97 ret = bpf_skb_set_tunnel_key(skb, &key, sizeof(key), in _ip6gretap_set_tunnel()
112 struct bpf_tunnel_key key; in _ip6gretap_get_tunnel() local
115 ret = bpf_skb_get_tunnel_key(skb, &key, sizeof(key), in _ip6gretap_get_tunnel()
123 key.tunnel_id, key.remote_ipv6[3], key.tunnel_label); in _ip6gretap_get_tunnel()
131 struct bpf_tunnel_key key; in _erspan_set_tunnel() local
135 __builtin_memset(&key, 0x0, sizeof(key)); in _erspan_set_tunnel()
136 key.remote_ipv4 = 0xac100164; /* 172.16.1.100 */ in _erspan_set_tunnel()
137 key.tunnel_id = 2; in _erspan_set_tunnel()
138 key.tunnel_tos = 0; in _erspan_set_tunnel()
139 key.tunnel_ttl = 64; in _erspan_set_tunnel()
141 ret = bpf_skb_set_tunnel_key(skb, &key, sizeof(key), in _erspan_set_tunnel()
175 struct bpf_tunnel_key key; in _erspan_get_tunnel() local
180 ret = bpf_skb_get_tunnel_key(skb, &key, sizeof(key), 0); in _erspan_get_tunnel()
193 key.tunnel_id, key.remote_ipv4, md.version); in _erspan_get_tunnel()
215 struct bpf_tunnel_key key; in _ip4ip6erspan_set_tunnel() local
219 __builtin_memset(&key, 0x0, sizeof(key)); in _ip4ip6erspan_set_tunnel()
220 key.remote_ipv6[3] = bpf_htonl(0x11); in _ip4ip6erspan_set_tunnel()
221 key.tunnel_id = 2; in _ip4ip6erspan_set_tunnel()
222 key.tunnel_tos = 0; in _ip4ip6erspan_set_tunnel()
223 key.tunnel_ttl = 64; in _ip4ip6erspan_set_tunnel()
225 ret = bpf_skb_set_tunnel_key(skb, &key, sizeof(key), in _ip4ip6erspan_set_tunnel()
260 struct bpf_tunnel_key key; in _ip4ip6erspan_get_tunnel() local
265 ret = bpf_skb_get_tunnel_key(skb, &key, sizeof(key), in _ip4ip6erspan_get_tunnel()
279 key.tunnel_id, key.remote_ipv4, md.version); in _ip4ip6erspan_get_tunnel()
302 struct bpf_tunnel_key key; in _vxlan_set_tunnel() local
305 __builtin_memset(&key, 0x0, sizeof(key)); in _vxlan_set_tunnel()
306 key.remote_ipv4 = 0xac100164; /* 172.16.1.100 */ in _vxlan_set_tunnel()
307 key.tunnel_id = 2; in _vxlan_set_tunnel()
308 key.tunnel_tos = 0; in _vxlan_set_tunnel()
309 key.tunnel_ttl = 64; in _vxlan_set_tunnel()
311 ret = bpf_skb_set_tunnel_key(skb, &key, sizeof(key), in _vxlan_set_tunnel()
332 struct bpf_tunnel_key key; in _vxlan_get_tunnel() local
336 ret = bpf_skb_get_tunnel_key(skb, &key, sizeof(key), 0); in _vxlan_get_tunnel()
349 key.tunnel_id, key.remote_ipv4, md.gbp); in _vxlan_get_tunnel()
357 struct bpf_tunnel_key key; in _ip6vxlan_set_tunnel() local
360 __builtin_memset(&key, 0x0, sizeof(key)); in _ip6vxlan_set_tunnel()
361 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in _ip6vxlan_set_tunnel()
362 key.tunnel_id = 22; in _ip6vxlan_set_tunnel()
363 key.tunnel_tos = 0; in _ip6vxlan_set_tunnel()
364 key.tunnel_ttl = 64; in _ip6vxlan_set_tunnel()
366 ret = bpf_skb_set_tunnel_key(skb, &key, sizeof(key), in _ip6vxlan_set_tunnel()
380 struct bpf_tunnel_key key; in _ip6vxlan_get_tunnel() local
383 ret = bpf_skb_get_tunnel_key(skb, &key, sizeof(key), in _ip6vxlan_get_tunnel()
391 key.tunnel_id, key.remote_ipv6[3], key.tunnel_label); in _ip6vxlan_get_tunnel()
400 struct bpf_tunnel_key key; in _geneve_set_tunnel() local
403 __builtin_memset(&key, 0x0, sizeof(key)); in _geneve_set_tunnel()
404 key.remote_ipv4 = 0xac100164; /* 172.16.1.100 */ in _geneve_set_tunnel()
405 key.tunnel_id = 2; in _geneve_set_tunnel()
406 key.tunnel_tos = 0; in _geneve_set_tunnel()
407 key.tunnel_ttl = 64; in _geneve_set_tunnel()
418 ret = bpf_skb_set_tunnel_key(skb, &key, sizeof(key), in _geneve_set_tunnel()
438 struct bpf_tunnel_key key; in _geneve_get_tunnel() local
442 ret = bpf_skb_get_tunnel_key(skb, &key, sizeof(key), 0); in _geneve_get_tunnel()
453 key.tunnel_id, key.remote_ipv4, gopt.opt_class); in _geneve_get_tunnel()
460 struct bpf_tunnel_key key; in _ip6geneve_set_tunnel() local
464 __builtin_memset(&key, 0x0, sizeof(key)); in _ip6geneve_set_tunnel()
465 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in _ip6geneve_set_tunnel()
466 key.tunnel_id = 22; in _ip6geneve_set_tunnel()
467 key.tunnel_tos = 0; in _ip6geneve_set_tunnel()
468 key.tunnel_ttl = 64; in _ip6geneve_set_tunnel()
470 ret = bpf_skb_set_tunnel_key(skb, &key, sizeof(key), in _ip6geneve_set_tunnel()
499 struct bpf_tunnel_key key; in _ip6geneve_get_tunnel() local
503 ret = bpf_skb_get_tunnel_key(skb, &key, sizeof(key), in _ip6geneve_get_tunnel()
515 key.tunnel_id, key.remote_ipv4, gopt.opt_class); in _ip6geneve_get_tunnel()
523 struct bpf_tunnel_key key = {}; in _ipip_set_tunnel() local
535 key.tunnel_ttl = 64; in _ipip_set_tunnel()
537 key.remote_ipv4 = 0xac100164; /* 172.16.1.100 */ in _ipip_set_tunnel()
540 ret = bpf_skb_set_tunnel_key(skb, &key, sizeof(key), 0); in _ipip_set_tunnel()
553 struct bpf_tunnel_key key; in _ipip_get_tunnel() local
556 ret = bpf_skb_get_tunnel_key(skb, &key, sizeof(key), 0); in _ipip_get_tunnel()
562 bpf_trace_printk(fmt, sizeof(fmt), key.remote_ipv4); in _ipip_get_tunnel()
569 struct bpf_tunnel_key key = {}; in _ipip6_set_tunnel() local
581 __builtin_memset(&key, 0x0, sizeof(key)); in _ipip6_set_tunnel()
582 key.tunnel_ttl = 64; in _ipip6_set_tunnel()
584 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in _ipip6_set_tunnel()
587 ret = bpf_skb_set_tunnel_key(skb, &key, sizeof(key), in _ipip6_set_tunnel()
601 struct bpf_tunnel_key key; in _ipip6_get_tunnel() local
604 ret = bpf_skb_get_tunnel_key(skb, &key, sizeof(key), in _ipip6_get_tunnel()
611 bpf_trace_printk(fmt, sizeof(fmt), bpf_htonl(key.remote_ipv6[0]), in _ipip6_get_tunnel()
612 bpf_htonl(key.remote_ipv6[3])); in _ipip6_get_tunnel()
619 struct bpf_tunnel_key key = {}; in _ip6ip6_set_tunnel() local
631 key.tunnel_ttl = 64; in _ip6ip6_set_tunnel()
633 key.remote_ipv6[3] = bpf_htonl(0x11); /* ::11 */ in _ip6ip6_set_tunnel()
636 ret = bpf_skb_set_tunnel_key(skb, &key, sizeof(key), in _ip6ip6_set_tunnel()
650 struct bpf_tunnel_key key; in _ip6ip6_get_tunnel() local
653 ret = bpf_skb_get_tunnel_key(skb, &key, sizeof(key), in _ip6ip6_get_tunnel()
660 bpf_trace_printk(fmt, sizeof(fmt), bpf_htonl(key.remote_ipv6[0]), in _ip6ip6_get_tunnel()
661 bpf_htonl(key.remote_ipv6[3])); in _ip6ip6_get_tunnel()