Home
last modified time | relevance | path

Searched refs:tkey (Results 1 – 18 of 18) sorted by relevance

/external/iproute2/tc/
Dp_ip.c28 struct m_pedit_sel *sel, struct m_pedit_key *tkey) in parse_ip() argument
37 tkey->htype = sel->extended ? in parse_ip()
43 tkey->off = 12; in parse_ip()
44 res = parse_cmd(&argc, &argv, 4, TIPV4, RU32, sel, tkey); in parse_ip()
49 tkey->off = 16; in parse_ip()
50 res = parse_cmd(&argc, &argv, 4, TIPV4, RU32, sel, tkey); in parse_ip()
59 tkey->off = 1; in parse_ip()
60 res = parse_cmd(&argc, &argv, 1, TU32, RU8, sel, tkey); in parse_ip()
65 tkey->off = 0; in parse_ip()
66 res = parse_cmd(&argc, &argv, 1, TU32, 0x0f, sel, tkey); in parse_ip()
[all …]
Dm_pedit.c63 struct m_pedit_key *tkey) in pedit_parse_nopopt() argument
122 int pack_key(struct m_pedit_sel *_sel, struct m_pedit_key *tkey) in pack_key() argument
131 if (tkey->off % 4) { in pack_key()
136 sel->keys[hwm].val = tkey->val; in pack_key()
137 sel->keys[hwm].mask = tkey->mask; in pack_key()
138 sel->keys[hwm].off = tkey->off; in pack_key()
139 sel->keys[hwm].at = tkey->at; in pack_key()
140 sel->keys[hwm].offmask = tkey->offmask; in pack_key()
141 sel->keys[hwm].shift = tkey->shift; in pack_key()
144 keys_ex[hwm].htype = tkey->htype; in pack_key()
[all …]
Dp_ip6.c28 struct m_pedit_sel *sel, struct m_pedit_key *tkey) in parse_ip6() argument
40 tkey->htype = TCA_PEDIT_KEY_EX_HDR_TYPE_IP6; in parse_ip6()
44 tkey->off = 8; in parse_ip6()
45 res = parse_cmd(&argc, &argv, 16, TIPV6, RU32, sel, tkey); in parse_ip6()
50 tkey->off = 24; in parse_ip6()
51 res = parse_cmd(&argc, &argv, 16, TIPV6, RU32, sel, tkey); in parse_ip6()
56 tkey->off = 0; in parse_ip6()
57 res = parse_cmd(&argc, &argv, 4, TU32, 0x0007ffff, sel, tkey); in parse_ip6()
62 tkey->off = 4; in parse_ip6()
63 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey); in parse_ip6()
[all …]
Dp_tcp.c28 struct m_pedit_sel *sel, struct m_pedit_key *tkey) in parse_tcp() argument
40 tkey->htype = TCA_PEDIT_KEY_EX_HDR_TYPE_TCP; in parse_tcp()
44 tkey->off = 0; in parse_tcp()
45 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey); in parse_tcp()
51 tkey->off = 2; in parse_tcp()
52 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey); in parse_tcp()
58 tkey->off = 13; in parse_tcp()
59 res = parse_cmd(&argc, &argv, 1, TU32, RU8, sel, tkey); in parse_tcp()
Dp_eth.c28 struct m_pedit_sel *sel, struct m_pedit_key *tkey) in parse_eth() argument
40 tkey->htype = TCA_PEDIT_KEY_EX_HDR_TYPE_ETH; in parse_eth()
44 tkey->off = 12; in parse_eth()
45 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey); in parse_eth()
51 tkey->off = 0; in parse_eth()
52 res = parse_cmd(&argc, &argv, 6, TMAC, RU32, sel, tkey); in parse_eth()
58 tkey->off = 6; in parse_eth()
59 res = parse_cmd(&argc, &argv, 6, TMAC, RU32, sel, tkey); in parse_eth()
Dp_udp.c28 struct m_pedit_sel *sel, struct m_pedit_key *tkey) in parse_udp() argument
40 tkey->htype = TCA_PEDIT_KEY_EX_HDR_TYPE_UDP; in parse_udp()
44 tkey->off = 0; in parse_udp()
45 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey); in parse_udp()
51 tkey->off = 2; in parse_udp()
52 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey); in parse_udp()
Dm_pedit.h72 struct m_pedit_key *tkey);
75 extern int pack_key(struct m_pedit_sel *sel, struct m_pedit_key *tkey);
77 struct m_pedit_key *tkey);
79 struct m_pedit_key *tkey);
81 struct m_pedit_key *tkey);
85 struct m_pedit_sel *sel, struct m_pedit_key *tkey);
87 struct m_pedit_sel *sel, struct m_pedit_key *tkey);
Dp_icmp.c29 struct m_pedit_sel *sel, struct m_pedit_key *tkey) in parse_icmp() argument
/external/bcc/examples/networking/distributed_bridge/
Dtunnel.c31 struct bpf_tunnel_key tkey = {}; in handle_ingress() local
32 bpf_skb_get_tunnel_key(skb, &tkey, in handle_ingress()
35 int *ifindex = vni2if.lookup(&tkey.tunnel_id); in handle_ingress()
40 &(struct host){tkey.tunnel_id, tkey.remote_ipv4, 0, 0}); in handle_ingress()
44 bpf_trace_printk("ingress invalid tunnel_id=%d\n", tkey.tunnel_id); in handle_ingress()
62 struct bpf_tunnel_key tkey = {}; in handle_egress() local
65 tkey.tunnel_id = dst_host->tunnel_id; in handle_egress()
66 tkey.remote_ipv4 = dst_host->remote_ipv4; in handle_egress()
67 bpf_skb_set_tunnel_key(skb, &tkey, in handle_egress()
71 struct bpf_tunnel_key tkey = {}; in handle_egress() local
[all …]
Dtunnel_mesh.c20 struct bpf_tunnel_key tkey = {}; in handle_ingress() local
22 bpf_skb_get_tunnel_key(skb, &tkey, in handle_ingress()
25 key.tunnel_id = tkey.tunnel_id; in handle_ingress()
26 key.remote_ipv4 = tkey.remote_ipv4; in handle_ingress()
44 struct bpf_tunnel_key tkey = {}; in handle_egress() local
59 tkey.tunnel_id = key_p->tunnel_id; in handle_egress()
60 tkey.remote_ipv4 = key_p->remote_ipv4; in handle_egress()
61 bpf_skb_set_tunnel_key(skb, &tkey, in handle_egress()
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_l4lb_noinline.c330 struct bpf_tunnel_key tkey = {}; in process_packet() local
348 tkey.tunnel_ttl = 64; in process_packet()
433 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet()
440 tkey.remote_ipv4 = dst->dst; in process_packet()
448 bpf_skb_set_tunnel_key(skb, &tkey, sizeof(tkey), tun_flag); in process_packet()
449 *(u32 *)eth->eth_dest = tkey.remote_ipv4; in process_packet()
Dtest_l4lb.c330 struct bpf_tunnel_key tkey = {}; in process_packet() local
348 tkey.tunnel_ttl = 64; in process_packet()
433 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet()
440 tkey.remote_ipv4 = dst->dst; in process_packet()
448 bpf_skb_set_tunnel_key(skb, &tkey, sizeof(tkey), tun_flag); in process_packet()
449 *(u32 *)eth->eth_dest = tkey.remote_ipv4; in process_packet()
/external/icu/icu4c/source/common/
Drbbiscan.cpp785 UnicodeString *tkey = new UnicodeString(s); in findSetFor() local
786 if (tkey == NULL || el == NULL || setToAdopt == NULL) { in findSetFor()
788 delete tkey; in findSetFor()
789 tkey = NULL; in findSetFor()
798 el->key = tkey; in findSetFor()
/external/jemalloc_new/src/
Dckh.c136 const void *key, *data, *tkey, *tdata; in ckh_evict_reloc_insert() local
159 tkey = cell->key; tdata = cell->data; in ckh_evict_reloc_insert()
161 key = tkey; data = tdata; in ckh_evict_reloc_insert()
/external/igt-gpu-tools/scripts/
Dtrace.pl719 foreach my $tkey (sort keys %ctxtimelines) {
720 my ($ctx, $ring) = split '/', $tkey;
721 my $timeline = get_ctx_timeline($ctx, $ring, $tkey);
/external/icu/icu4c/source/test/intltest/
Drestsnew.cpp987 const char *tkey=NULL; in testTag() local
988 UnicodeString value=tagelement.getNextString(&tkey, status); in testTag()
989 UnicodeString key(tkey); in testTag()
/external/cpuinfo/test/dmesg/
Dgalaxy-s5-us.log801 <6>[ 1.268575] tkey/semco_cypress_tkey.fw!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Dgalaxy-j5.log715 [ 1.001582] [1: swapper/0: 1] [ TSP ] ist30xx_parse_dt() tkey: 1