Home
last modified time | relevance | path

Searched refs:arp (Results 1 – 25 of 215) sorted by relevance

123456789

/external/iptables/iptables/
Dnft-arp.c132 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 …]
Dxtables-arp.c365 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 …]
DMakefile.am38 nft-shared.c nft-ipv4.c nft-ipv6.c nft-arp.c \
40 xtables-arp-standalone.c xtables-arp.c \
/external/iptables/extensions/
Dlibebt_arp.t2 -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 …]
Dlibarpt_mangle.c78 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()
Dlibebt_log.t5 --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" …
Dlibebt_log.txlate10 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/
Dtest_xlate1.c27 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()
Dtest_clang_complex.c77 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()
Dtest_brb.c154 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/
Dloopback.sh38 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/
D0002-ebtables-save-restore_019 $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/
Dhost.py47 "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/
Des_SV.txt8 arp{"arapaho"}
Des_PR.txt8 arp{"arapaho"}
Des_PE.txt8 arp{"arapaho"}
Des_NI.txt8 arp{"arapaho"}
Des_BO.txt8 arp{"arapaho"}
Des_AR.txt8 arp{"arapaho"}
Des_PA.txt8 arp{"arapaho"}
Des_CR.txt8 arp{"arapaho"}
Des_DO.txt8 arp{"arapaho"}
Des_GT.txt8 arp{"arapaho"}
Des_EC.txt8 arp{"arapaho"}
/external/scapy/scapy/layers/
Dl2.py563 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)

123456789