/external/iptables/iptables/ |
D | nft-arp.c | 132 struct arpt_entry *fw = &cs->arp; in nft_arp_add() 136 if (fw->arp.iniface[0] != '\0') { in nft_arp_add() 137 op = nft_invflags2cmp(fw->arp.invflags, IPT_INV_VIA_IN); in nft_arp_add() 138 add_iniface(r, fw->arp.iniface, op); in nft_arp_add() 141 if (fw->arp.outiface[0] != '\0') { in nft_arp_add() 142 op = nft_invflags2cmp(fw->arp.invflags, IPT_INV_VIA_OUT); in nft_arp_add() 143 add_outiface(r, fw->arp.outiface, op); in nft_arp_add() 146 if (fw->arp.arhrd != 0 || in nft_arp_add() 147 fw->arp.invflags & IPT_INV_ARPHRD) { in nft_arp_add() 148 op = nft_invflags2cmp(fw->arp.invflags, IPT_INV_ARPHRD); in nft_arp_add() [all …]
|
D | xtables-arp.c | 365 cs->arp.arp.src.s_addr = saddrs[i].s_addr; in append_entry() 366 cs->arp.arp.smsk.s_addr = smasks[i].s_addr; in append_entry() 368 cs->arp.arp.tgt.s_addr = daddrs[j].s_addr; in append_entry() 369 cs->arp.arp.tmsk.s_addr = dmasks[j].s_addr; in append_entry() 394 cs->arp.arp.src.s_addr = saddr->s_addr; in replace_entry() 395 cs->arp.arp.tgt.s_addr = daddr->s_addr; in replace_entry() 396 cs->arp.arp.smsk.s_addr = smask->s_addr; in replace_entry() 397 cs->arp.arp.tmsk.s_addr = dmask->s_addr; in replace_entry() 418 cs->arp.arp.src.s_addr = saddrs[i].s_addr; in delete_entry() 419 cs->arp.arp.smsk.s_addr = smasks[i].s_addr; in delete_entry() [all …]
|
D | Makefile.am | 38 nft-shared.c nft-ipv4.c nft-ipv6.c nft-arp.c \ 40 xtables-arp-standalone.c xtables-arp.c \
|
/external/iptables/extensions/ |
D | libebt_arp.t | 2 -p ARP --arp-op Request;=;OK 3 -p ARP --arp-htype ! 1;=;OK 4 -p ARP --arp-ptype 0x2;=;OK 5 -p ARP --arp-ip-src 1.2.3.4;=;OK 6 -p ARP ! --arp-ip-dst 1.2.3.4;-p ARP --arp-ip-dst ! 1.2.3.4 -j CONTINUE;OK 7 -p ARP --arp-ip-src ! 0.0.0.0;=;OK 8 -p ARP --arp-ip-dst ! 0.0.0.0/8;=;OK 9 -p ARP --arp-mac-src 00:de:ad:be:ef:00;=;OK 10 -p ARP --arp-mac-dst de:ad:be:ef:00:00/ff:ff:ff:ff:00:00;=;OK 11 -p ARP --arp-gratuitous;=;OK [all …]
|
D | libarpt_mangle.c | 78 if (e->arp.arhln_mask == 0) in arpmangle_parse() 81 if (e->arp.invflags & ARPT_INV_ARPHLN) in arpmangle_parse() 85 if (e->arp.arhln != 6) in arpmangle_parse() 92 memcpy(mangle->src_devaddr, macaddr, e->arp.arhln); in arpmangle_parse() 96 if (e->arp.arhln_mask == 0) in arpmangle_parse() 99 if (e->arp.invflags & ARPT_INV_ARPHLN) in arpmangle_parse() 102 if (e->arp.arhln != 6) in arpmangle_parse() 108 memcpy(mangle->tgt_devaddr, macaddr, e->arp.arhln); in arpmangle_parse()
|
D | libebt_log.t | 5 --log-level emerg --log-ip --log-arp --log-ip6;--log-level emerg --log-prefix "" --log-ip --log-arp… 6 --log-level crit --log-ip --log-arp --log-ip6 --log-prefix foo;--log-level crit --log-prefix "foo" …
|
D | libebt_log.txlate | 10 ebtables-translate -A INPUT --log-level emerg --log-ip --log-arp --log-ip6 13 ebtables-translate -A INPUT --log-level crit --log-ip --log-arp --log-ip6 --log-prefix foo
|
/external/bcc/tests/python/ |
D | test_xlate1.c | 27 case ETH_P_ARP: goto arp; in on_packet() 37 case ETH_P_ARP: goto arp; in on_packet() 42 arp: { in on_packet() 43 struct arp_t *arp = cursor_advance(cursor, sizeof(*arp)); in on_packet() local 44 orig_dip = arp->tpa; in on_packet() 45 orig_sip = arp->spa; in on_packet() 50 arp->tpa = xleaf.xdip; in on_packet() 51 arp->spa = xleaf.xsip; in on_packet()
|
D | test_clang_complex.c | 77 case ETH_P_ARP: goto arp; in handle_packet() 86 case ETH_P_ARP: goto arp; in handle_packet() 91 arp: { in handle_packet() 92 struct arp_t *arp = cursor_advance(cursor, sizeof(*arp)); in handle_packet() local 94 if (arp->oper == 1) { in handle_packet() 95 struct MacaddrKey mac_key = {.ip=arp->spa}; in handle_packet() 96 struct MacaddrLeaf mac_leaf = {.mac=arp->sha}; in handle_packet()
|
D | test_brb.c | 154 case ETH_P_ARP: goto arp; in br_common() 164 case ETH_P_ARP: goto arp; in br_common() 169 arp: { in br_common() 170 struct arp_t *arp = cursor_advance(cursor, sizeof(*arp)); in br_common() local 172 arpop = arp->oper; in br_common()
|
/external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
D | loopback.sh | 38 tc filter add dev $h1 ingress protocol arp pref 1 handle 101 flower \ 41 $MZ $h1 -c 1 -t arp -q 51 $MZ $h1 -c 1 -t arp -q 59 $MZ $h1 -c 1 -t arp -q 64 tc filter del dev $h1 ingress protocol arp pref 1 handle 101 flower
|
/external/iptables/iptables/tests/shell/testcases/ebtables/ |
D | 0002-ebtables-save-restore_0 | 19 $XT_MULTI ebtables -A foo -p ARP --arp-gratuitous -j ACCEPT 20 $XT_MULTI ebtables -A foo -p ARP --arp-opcode Request -j ACCEPT 21 $XT_MULTI ebtables -A foo -p ARP --arp-ip-src 10.0.0.1 -j ACCEPT 22 $XT_MULTI ebtables -A foo -p ARP --arp-ip-dst 10.0.0.0/8 -j ACCEPT 23 $XT_MULTI ebtables -A foo -p ARP --arp-mac-src fe:ed:ba:be:00:01 -j ACCEPT 24 $XT_MULTI ebtables -A foo -p ARP --arp-mac-dst fe:ed:ba:be:00:01/ff:ff:ff:00:00:00 -j ACCEPT
|
/external/autotest/client/deps/lansim/src/py/ |
D | host.py | 47 "arp.op": dpkt.arp.ARP_OP_REQUEST, 78 self.add_arp(hw_addr=pkt.arp.sha, ip_addr=pkt.arp.spa) 80 arp_resp = dpkt.arp.ARP( 81 op = dpkt.arp.ARP_OP_REPLY, 83 tpa = pkt.arp.spa, # Target Protocol Address. 84 tha = pkt.arp.sha, # Target Hardware Address. 88 dst = pkt.arp.sha,
|
/external/icu/icu4c/source/data/lang/ |
D | es_SV.txt | 8 arp{"arapaho"}
|
D | es_PR.txt | 8 arp{"arapaho"}
|
D | es_PE.txt | 8 arp{"arapaho"}
|
D | es_NI.txt | 8 arp{"arapaho"}
|
D | es_BO.txt | 8 arp{"arapaho"}
|
D | es_AR.txt | 8 arp{"arapaho"}
|
D | es_PA.txt | 8 arp{"arapaho"}
|
D | es_CR.txt | 8 arp{"arapaho"}
|
D | es_DO.txt | 8 arp{"arapaho"}
|
D | es_GT.txt | 8 arp{"arapaho"}
|
D | es_EC.txt | 8 arp{"arapaho"}
|
/external/scapy/scapy/layers/ |
D | l2.py | 563 arp = req.getlayer(ARP) 568 iff,a,gw = conf.route.route(arp.psrc) 581 psrc=arp.pdst, 582 hwdst=arp.hwsrc, 583 pdst=arp.psrc)
|