Home
last modified time | relevance | path

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

12

/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_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_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_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()
46 bpf_trace_printk("ingress invalid tunnel_id=%d\n", tkey.tunnel_id); in handle_ingress()
64 struct bpf_tunnel_key tkey = {}; in handle_egress() local
67 tkey.tunnel_id = dst_host->tunnel_id; in handle_egress()
68 tkey.remote_ipv4 = dst_host->remote_ipv4; in handle_egress()
69 bpf_skb_set_tunnel_key(skb, &tkey, in handle_egress()
73 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.c328 struct bpf_tunnel_key tkey = {}; in process_packet() local
346 tkey.tunnel_ttl = 64; in process_packet()
431 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet()
438 tkey.remote_ipv4 = dst->dst; in process_packet()
446 bpf_skb_set_tunnel_key(skb, &tkey, sizeof(tkey), tun_flag); in process_packet()
447 *(u32 *)eth->eth_dest = tkey.remote_ipv4; in process_packet()
Dtest_l4lb_noinline.c327 struct bpf_tunnel_key tkey = {}; in process_packet() local
345 tkey.tunnel_ttl = 64; in process_packet()
430 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet()
437 tkey.remote_ipv4 = dst->dst; in process_packet()
445 bpf_skb_set_tunnel_key(skb, &tkey, sizeof(tkey), tun_flag); in process_packet()
446 *(u32 *)eth->eth_dest = tkey.remote_ipv4; in process_packet()
/external/cronet/third_party/icu/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()
Dlocid.cpp1522 const char* tkey = ultag_getTKeyStart(str); in replaceTransformedExtensions() local
1523 int32_t tlangLen = (tkey == str) ? 0 : in replaceTransformedExtensions()
1524 ((tkey == nullptr) ? len : static_cast<int32_t>((tkey - str - 1))); in replaceTransformedExtensions()
1537 if (tkey != nullptr) { in replaceTransformedExtensions()
1544 const char* tvalue = uprv_strchr(tkey, '-'); in replaceTransformedExtensions()
1553 tfields.insertElementAt((void*)tkey, tfields.size(), status); in replaceTransformedExtensions()
1557 tkey = nextTKey; in replaceTransformedExtensions()
1558 } while (tkey != nullptr); in replaceTransformedExtensions()
/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()
Dlocid.cpp1522 const char* tkey = ultag_getTKeyStart(str); in replaceTransformedExtensions() local
1523 int32_t tlangLen = (tkey == str) ? 0 : in replaceTransformedExtensions()
1524 ((tkey == nullptr) ? len : static_cast<int32_t>((tkey - str - 1))); in replaceTransformedExtensions()
1537 if (tkey != nullptr) { in replaceTransformedExtensions()
1544 const char* tvalue = uprv_strchr(tkey, '-'); in replaceTransformedExtensions()
1553 tfields.insertElementAt((void*)tkey, tfields.size(), status); in replaceTransformedExtensions()
1557 tkey = nextTKey; in replaceTransformedExtensions()
1558 } while (tkey != nullptr); in replaceTransformedExtensions()
/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.cpp989 const char *tkey=NULL; in testTag() local
990 UnicodeString value=tagelement.getNextString(&tkey, status); in testTag()
991 UnicodeString key(tkey); in testTag()
/external/cronet/third_party/icu/source/test/intltest/
Drestsnew.cpp989 const char *tkey=NULL; in testTag() local
990 UnicodeString value=tagelement.getNextString(&tkey, status); in testTag()
991 UnicodeString key(tkey); in testTag()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DULocale.java1593 String tkey = ""; in replaceTransformedExtensions() local
1607 tkey = subtag; in replaceTransformedExtensions()
1611 builder.append(LanguageTag.SEP).append(toUnicodeLocaleType(tkey, subtag)); in replaceTransformedExtensions()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java1678 String tkey = ""; in replaceTransformedExtensions() local
1692 tkey = subtag; in replaceTransformedExtensions()
1696 builder.append(LanguageTag.SEP).append(toUnicodeLocaleType(tkey, subtag)); in replaceTransformedExtensions()
/external/cldr/docs/ldml/
Dtr35.md326 …6067](https://www.ietf.org/rfc/rfc6067.txt)], so that it is disjoint with tkey.) | [`validity`](#K…
333 … | `= tkey tvalue;` | [`validi…
334 | `tkey` …
3080 | bcp47/anykey | any bcp47 key or tkey |
3084 | bcp47/\{key or tkey} | matches possible values for that key or tkey |
3532 …fields (<ukey, uvalue>) and tfields (<tkey, tvalue>) into alphabetical order according to their ke…
/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

12