Home
last modified time | relevance | path

Searched refs:eth0 (Results 1 – 25 of 106) sorted by relevance

12345

/external/iptables/extensions/
Dlibipt_SNAT.txlate1 iptables-translate -t nat -A postrouting -o eth0 -j SNAT --to 1.2.3.4
2 nft add rule ip nat postrouting oifname "eth0" counter snat to 1.2.3.4
4 iptables-translate -t nat -A postrouting -o eth0 -j SNAT --to 1.2.3.4-1.2.3.6
5 nft add rule ip nat postrouting oifname "eth0" counter snat to 1.2.3.4-1.2.3.6
7 iptables-translate -t nat -A postrouting -p tcp -o eth0 -j SNAT --to 1.2.3.4:1-1023
8 nft add rule ip nat postrouting oifname "eth0" ip protocol tcp counter snat to 1.2.3.4:1-1023
10 iptables-translate -t nat -A postrouting -o eth0 -j SNAT --to 1.2.3.4 --random
11 nft add rule ip nat postrouting oifname "eth0" counter snat to 1.2.3.4 random
13 iptables-translate -t nat -A postrouting -o eth0 -j SNAT --to 1.2.3.4 --random --persistent
14 nft add rule ip nat postrouting oifname "eth0" counter snat to 1.2.3.4 random,persistent
Dlibip6t_SNAT.txlate1 ip6tables-translate -t nat -A postrouting -o eth0 -p tcp -j SNAT --to [fec0::1234]:80
2 nft add rule ip6 nat postrouting oifname "eth0" meta l4proto tcp counter snat to [fec0::1234]:80
4 ip6tables-translate -t nat -A postrouting -o eth0 -p tcp -j SNAT --to [fec0::1234]:1-20
5 nft add rule ip6 nat postrouting oifname "eth0" meta l4proto tcp counter snat to [fec0::1234]:1-20
7 ip6tables-translate -t nat -A postrouting -o eth0 -p tcp -j SNAT --to [fec0::1234]:123 --random
8 nft add rule ip6 nat postrouting oifname "eth0" meta l4proto tcp counter snat to [fec0::1234]:123 r…
10 ip6tables-translate -t nat -A postrouting -o eth0 -p tcp -j SNAT --to [fec0::1234]:123 --random-ful…
11 nft add rule ip6 nat postrouting oifname "eth0" meta l4proto tcp counter snat to [fec0::1234]:123 f…
Dlibipt_DNAT.txlate1 iptables-translate -t nat -A prerouting -p tcp -o eth0 -j DNAT --to-destination 1.2.3.4
2 nft add rule ip nat prerouting oifname "eth0" ip protocol tcp counter dnat to 1.2.3.4
7 iptables-translate -t nat -A prerouting -p tcp -o eth0 -j DNAT --to-destination 1.2.3.4:1-1023
8 nft add rule ip nat prerouting oifname "eth0" ip protocol tcp counter dnat to 1.2.3.4:1-1023
10 iptables-translate -t nat -A prerouting -p tcp -o eth0 -j DNAT --to-destination 1.2.3.4 --random
11 nft add rule ip nat prerouting oifname "eth0" ip protocol tcp counter dnat to 1.2.3.4 random
13 iptables-translate -t nat -A prerouting -p tcp -o eth0 -j DNAT --to-destination 1.2.3.4 --random --…
14 nft add rule ip nat prerouting oifname "eth0" ip protocol tcp counter dnat to 1.2.3.4 random,persis…
Dlibxt_TEE.txlate1 # iptables-translate -t mangle -A PREROUTING -j TEE --gateway 192.168.0.2 --oif eth0
2 # nft add rule ip mangle PREROUTING counter dup to 192.168.0.2 device eth0
10 ip6tables-translate -t mangle -A PREROUTING -j TEE --gateway ab12:00a1:1112:acba:: --oif eth0
11 nft add rule ip6 mangle PREROUTING counter dup to ab12:a1:1112:acba:: device eth0
Dlibxt_udp.txlate1 iptables-translate -A INPUT -p udp -i eth0 --sport 53 -j ACCEPT
2 nft add rule ip filter INPUT iifname "eth0" udp sport 53 counter accept
4 iptables-translate -A OUTPUT -p udp -o eth0 --dport 53:66 -j DROP
5 nft add rule ip filter OUTPUT oifname "eth0" udp dport 53-66 counter drop
Dlibxt_tcp.txlate1 iptables-translate -A INPUT -p tcp -i eth0 --sport 53 -j ACCEPT
2 nft add rule ip filter INPUT iifname "eth0" tcp sport 53 counter accept
4 iptables-translate -A OUTPUT -p tcp -o eth0 --dport 53:66 -j DROP
5 nft add rule ip filter OUTPUT oifname "eth0" tcp dport 53-66 counter drop
/external/linux-kselftest/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh27 eth0=${NETIFS[p1]}
159 ip link set $eth0 up
164 create_tcam_skeleton $eth0
167 ip link set $eth0 master br0
177 tc filter add dev $eth0 ingress chain $(IS1 1) pref 1 \
182 tc filter add dev $eth0 egress chain $(ES0) pref 1 \
186 tc filter add dev $eth0 ingress chain $(IS1 0) pref 2 \
191 tc filter add dev $eth0 ingress chain $(IS2 0 0) pref 1 \
201 tc qdisc del dev $eth0 clsact
255 bridge vlan add dev $eth0 vid 200
[all …]
/external/linux-kselftest/tools/testing/selftests/net/
Dvrf_route_leaking.sh232 ip -netns h1 link add eth0 type veth peer name r1h1
233 ip -netns h1 link set r1h1 netns r1 name eth0 up
235 ip -netns h2 link add eth0 type veth peer name r1h2
241 ip -netns h1 addr add dev eth0 ${H1_N1_IP}/24
242 ip -netns h1 -6 addr add dev eth0 ${H1_N1_IP6}/64 nodad
243 ip -netns h1 link set eth0 up
246 ip -netns h1 route add ${H2_N2} via ${R1_N1_IP} dev eth0
247 ip -netns h1 -6 route add ${H2_N2_6} via "${R1_N1_IP6}" dev eth0
252 ip -netns h2 addr add dev eth0 ${H2_N2_IP}/24
253 ip -netns h2 -6 addr add dev eth0 ${H2_N2_IP6}/64 nodad
[all …]
Dicmp_redirect.sh198 ip -netns h1 li add eth0 type veth peer name r1h1
199 ip -netns h1 li set r1h1 netns r1 name eth0 up
202 ip -netns h1 li set r2h1 netns r2 name eth0 up
204 ip -netns h2 li add eth0 type veth peer name r2h2
205 ip -netns h2 li set eth0 up
231 ip -netns h1 li set eth0 master br0 up
237 ip -netns h2 addr add dev eth0 ${H2_N2_IP}/24
238 ip -netns h2 ro add default via ${R2_N2_IP} dev eth0
239 ip -netns h2 -6 addr add dev eth0 ${H2_N2_IP6}/64 nodad
240 ip -netns h2 -6 ro add default via ${R2_N2_IP6} dev eth0
[all …]
Dfib_nexthop_multiprefix.sh111 ip -netns h${i} li add eth0 type veth peer name r1h${i}
112 ip -netns h${i} li set eth0 up
115 ip -netns h${i} addr add dev eth0 172.16.10${i}.1/24
116 ip -netns h${i} -6 addr add dev eth0 2001:db8:10${i}::1/64
121 ip -netns h0 nexthop add id 4 via 172.16.100.254 dev eth0
122 ip -netns h0 nexthop add id 6 via 2001:db8:100::64 dev eth0
158 run_cmd ip -netns h${hostid} li set eth0 mtu ${mtu}
/external/iproute2/doc/actions/
Dmirred-usage46 1) redirecting eth0 to eth0
47 2) eth0->eth1-> eth0
48 3) eth0->lo-> eth1-> eth0
65 1) Mirror all packets arriving on eth0 to be sent out on eth1.
69 tc qdisc add dev eth0 ingress
70 tc filter add dev eth0 parent ffff: protocol ip prio 10 u32 \
77 2) Host A is hooked up to us on eth0
79 # redirect all packets arriving on ingress of lo to eth0
83 match u32 0 0 flowid 1:2 action mirred egress redirect dev eth0
90 Ping would fail since all packets are heading out eth0
[all …]
Dgact-usage28 tc qdisc add dev eth0 ingress
31 tc filter add dev eth0 parent ffff: protocol ip prio 6 u32 match ip src \
50 tc filter add dev eth0 parent ffff: protocol ip prio 6 u32 match ip src \
65 tc filter add dev eth0 parent ffff: protocol ip prio 6 u32 match ip src \
70 tc -s filter show parent ffff: dev eth0
/external/linux-kselftest/tools/testing/selftests/netfilter/
Dnft_fib.sh119 ip link add veth0 netns ${nsrouter} type veth peer name eth0 netns ${ns1} > /dev/null 2>&1
124 ip link add veth1 netns ${nsrouter} type veth peer name eth0 netns ${ns2}
136 ip -net ${ns1} link set eth0 up
139 ip -net ${ns2} link set eth0 up
141 ip -net ${ns1} addr add 10.0.1.99/24 dev eth0
142 ip -net ${ns1} addr add dead:1::99/64 dev eth0
146 ip -net ${ns2} addr add 10.0.2.99/24 dev eth0
147 ip -net ${ns2} addr add dead:2::99/64 dev eth0
194 ip -net ${ns1} addr del 10.0.1.99/24 dev eth0
195 ip -net ${ns1} addr del dead:1::99/64 dev eth0
[all …]
Dnft_flowtable.sh62 ip link add veth0 netns nsr1 type veth peer name eth0 netns ns1
65 ip link add veth1 netns nsr2 type veth peer name eth0 netns ns2
113 ip -net ns1 link set eth0 mtu $omtu
119 ip -net ns2 link set eth0 mtu $rmtu
134 ip -net ns$i link set eth0 up
135 ip -net ns$i addr add 10.0.$i.99/24 dev eth0
137 ip -net ns$i addr add dead:$i::99/64 dev eth0
418 ip -net ns1 addr flush dev eth0
419 ip -net ns1 link add link eth0 name eth0.10 type vlan id 10
420 ip -net ns1 link set eth0 up
[all …]
Dnft_nat_zones.sh101 ip link add veth0 netns "$gw" type veth peer name eth0 netns "$srv"
104 ip -net "$srv" link set eth0 up
121 ip link add veth$i netns "$gw" type veth peer name eth0 netns "$cl" > /dev/null 2>&1
131 echo netns exec "$cl" ip link set eth0 up
138 echo netns exec "$cl" ip addr add 10.1.0.3/24 dev eth0
139 echo netns exec "$cl" ip addr add dead:1::3/64 dev eth0
140 echo netns exec "$cl" ip route add default via 10.1.0.2 dev eth0
141 echo netns exec "$cl" ip route add default via dead:1::2 dev eth0
158 ip -net "$srv" addr add 10.3.0.99/24 dev eth0
159 ip -net "$srv" addr add dead:3::99/64 dev eth0
Dnft_synproxy.sh42 ip link add veth0 netns $nsr type veth peer name eth0 netns $ns1
43 ip link add veth1 netns $nsr type veth peer name eth0 netns $ns2
58 ip -net $n link set eth0 up
60 ip -net $ns1 addr add 10.0.1.99/24 dev eth0
61 ip -net $ns2 addr add 10.0.2.99/24 dev eth0
Dnft_queue.sh58 ip link add veth0 netns ${nsrouter} type veth peer name eth0 netns ${ns1} > /dev/null 2>&1
63 ip link add veth1 netns ${nsrouter} type veth peer name eth0 netns ${ns2}
75 ip -net ${ns1} link set eth0 up
78 ip -net ${ns2} link set eth0 up
80 ip -net ${ns1} addr add 10.0.1.99/24 dev eth0
81 ip -net ${ns1} addr add dead:1::99/64 dev eth0
85 ip -net ${ns2} addr add 10.0.2.99/24 dev eth0
86 ip -net ${ns2} addr add dead:2::99/64 dev eth0
364 ip -net $ns1 li set eth0 master tvrf
367 ip -net $ns1 route add 10.0.2.0/24 via 10.0.1.1 dev eth0 table 9876
[all …]
Dbridge_brouter.sh30 ip link add veth0 netns ns0 type veth peer name eth0 netns ns1
35 ip link add veth1 netns ns0 type veth peer name eth0 netns ns2
55 ip -net ns$i link set eth0 up
56 ip -net ns$i addr add 10.0.0.1$i/24 dev eth0
/external/bpftool/docs/
Dbpftool-net.rst92 eth0(2) driver id 198
95 eth0(2) htb name prefix_matcher.o:[cls_prefix_matcher_htb] id 111727 act []
96 eth0(2) clsact/ingress fbflow_icmp id 130246 act []
97 eth0(2) clsact/egress prefix_matcher.o:[cls_prefix_matcher_clsact] id 111726
98 eth0(2) clsact/egress cls_fg_dscp id 108619 act []
99 eth0(2) clsact/egress fbflow_egress id 130245
108 "devname": "eth0",
115 "devname": "eth0",
122 "devname": "eth0",
129 "devname": "eth0",
[all …]
/external/openwrt-prebuilts/shared/config/
Dnetwork13 list ports 'eth0'
18 list ports 'eth0.0'
23 list ports 'eth0.1'
26 option name 'eth0.0'
30 option name 'eth0.1'
/external/bcc/tools/
Ddcsnoop_example.txt17 0.003180 1643 snmpd M net/ipv4/neigh/eth0/retrans_time_ms
18 0.003192 1643 snmpd M ipv4/neigh/eth0/retrans_time_ms
19 0.003197 1643 snmpd M neigh/eth0/retrans_time_ms
20 0.003203 1643 snmpd M eth0/retrans_time_ms
22 0.003245 1643 snmpd M ipv6/neigh/eth0/retrans_time_ms
23 0.003249 1643 snmpd M neigh/eth0/retrans_time_ms
24 0.003252 1643 snmpd M eth0/retrans_time_ms
26 0.003287 1643 snmpd M conf/eth0/forwarding
27 0.003292 1643 snmpd M eth0/forwarding
Dhardirqs_example.txt32 eth0 11441
34 The HARDIRQ column prints the interrupt action name. While tracing, the eth0
73 eth0 7498
98 eth0 6972
123 eth0 7152
127 shows that most time was spent processing for eth0 (network interface), which
158 eth0 16015
186 eth0 9743
327 hardirq = 'eth0'
632 eth0 34
/external/iproute2/examples/
DREADME.cbq23 # correct only for ETHERNET (eth0,1,2..) linux interfaces. It works for
53 # DEVICE=eth0,10Mbit,1Mbit
61 # DEVICE: eth0 - device where we do control our traffic
63 # 1Mbit - "weight" of :1 class (parent for all shapers for eth0),
65 # 100Mbit adapter's example: DEVICE=eth0,100Mbit,10Mbit
68 # is smart :) You can put only 'DEVICE=eth0' into cbq-*
69 # config file for eth0.
99 # BACKBONE -----eth0-| linux |-eth1------*[our client]
114 # DEVICE=eth0,10Mbit,1Mbit
/external/bcc/tests/
Dwrapper.sh.in29 sudo ip netns exec $ns ip link set $ns.in name eth0
30 sudo ip netns exec $ns ip addr add dev eth0 172.16.1.2/24
31 sudo ip netns exec $ns ip link set eth0 up
32 sudo ip netns exec $ns ethtool -K eth0 tx off
/external/ot-br-posix/tests/scripts/
Dcheck-scripts71 INFRA_IF_NAME=eth0 BACKBONE_ROUTER=0 NAT64=1 ./script/setup
73 INFRA_IF_NAME=eth0 BACKBONE_ROUTER=0 NAT64=1 ./script/setup
99 INFRA_IF_NAME=eth0 RADIO_URL="spinel+hdlc+uart://${HOST_PTY}" ./script/console &

12345