Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 2049) sorted by relevance

12345678910>>...82

/external/libvpx/libvpx/vp8/common/mips/dspr2/
Didctllm_dspr2.c43 short *ip = input; in vp8_short_idct4x4llm_dspr2() local
53 prefetch_load_short(ip + 8); in vp8_short_idct4x4llm_dspr2()
56 a1 = ip[0] + ip[8]; in vp8_short_idct4x4llm_dspr2()
57 b1 = ip[0] - ip[8]; in vp8_short_idct4x4llm_dspr2()
59 temp1 = (ip[4] * sinpi8sqrt2) >> 16; in vp8_short_idct4x4llm_dspr2()
60 temp2 = ip[12] + ((ip[12] * cospi8sqrt2minus1) >> 16); in vp8_short_idct4x4llm_dspr2()
63 temp1 = ip[4] + ((ip[4] * cospi8sqrt2minus1) >> 16); in vp8_short_idct4x4llm_dspr2()
64 temp2 = (ip[12] * sinpi8sqrt2) >> 16; in vp8_short_idct4x4llm_dspr2()
67 temp3 = (ip[5] * sinpi8sqrt2) >> 16; in vp8_short_idct4x4llm_dspr2()
68 temp4 = ip[13] + ((ip[13] * cospi8sqrt2minus1) >> 16); in vp8_short_idct4x4llm_dspr2()
[all …]
/external/bcc/examples/networking/vlan_filter/
Dtest_setup.sh10 ip netns add netns11
11 ip netns add netns12
12 ip netns add netns21
13 ip netns add netns22
14 ip netns add netns3
15 ip netns add netns4
18 ip link add veth11 type veth peer name veth13
19 ip link add veth21 type veth peer name veth23
20 ip link set veth11 netns netns11
21 ip link set veth21 netns netns21
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.sh44 ip netns del ns1 2> /dev/null
45 ip netns del ns2 2> /dev/null
46 ip netns del ns3 2> /dev/null
47 ip netns del ns4 2> /dev/null
48 ip netns del ns5 2> /dev/null
49 ip netns del ns6 2> /dev/null
55 ip netns add ns1
56 ip netns add ns2
57 ip netns add ns3
58 ip netns add ns4
[all …]
Dtest_tunnel.sh56 ip netns add at_ns0
57 ip link add veth0 type veth peer name veth1
58 ip link set veth0 netns at_ns0
59 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0
60 ip netns exec at_ns0 ip link set dev veth0 up
61 ip link set dev veth1 up mtu 1500
62 ip addr add dev veth1 172.16.1.200/24
68 ip netns exec at_ns0 \
69 ip link add dev $DEV_NS type $TYPE seq key 2 \
71 ip netns exec at_ns0 ip link set dev $DEV_NS up
[all …]
Dtest_lwt_ip_encap.sh111 ip netns add "${NS1}"
112 ip netns add "${NS2}"
113 ip netns add "${NS3}"
115 ip link add veth1 type veth peer name veth2
116 ip link add veth3 type veth peer name veth4
117 ip link add veth5 type veth peer name veth6
118 ip link add veth7 type veth peer name veth8
120 ip netns exec ${NS2} sysctl -wq net.ipv4.ip_forward=1
121 ip netns exec ${NS2} sysctl -wq net.ipv6.conf.all.forwarding=1
123 ip link set veth1 netns ${NS1}
[all …]
Dtest_xdp_vlan.sh55 ip link del veth1 2> /dev/null
56 ip netns del ns1 2> /dev/null
57 ip netns del ns2 2> /dev/null
117 ip link set dev lo xdpgeneric off 2>/dev/null > /dev/null
125 ip link del veth1 2> /dev/null
126 ip netns del ns1 2> /dev/null
127 ip netns del ns2 2> /dev/null
134 which ip > /dev/null
144 ip netns add ns1
145 ip netns add ns2
[all …]
/external/linux-kselftest/tools/testing/selftests/netfilter/
Dipvs.sh56 ip -Version > /dev/null 2>&1
69 ip netns add ns0
70 ip netns add ns1
71 ip netns add ns2
73 ip link add veth01 netns ns0 type veth peer name veth10 netns ns1
74 ip link add veth02 netns ns0 type veth peer name veth20 netns ns2
75 ip link add veth12 netns ns1 type veth peer name veth21 netns ns2
77 ip netns exec ns0 ip link set veth01 up
78 ip netns exec ns0 ip link set veth02 up
79 ip netns exec ns0 ip link add br0 type bridge
[all …]
Dbridge_brouter.sh20 ip -Version > /dev/null 2>&1
26 ip netns add ns0
27 ip netns add ns1
28 ip netns add ns2
30 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
37 ip -net ns0 link set lo up
38 ip -net ns0 link set veth0 up
39 ip -net ns0 link set veth1 up
41 ip -net ns0 link add br0 type bridge
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Drtnetlink.sh43 ip link set dev $swp1 up
44 ip link set dev $swp2 up
51 ip link set dev $swp2 down
52 ip link set dev $swp1 down
64 ip addr flush dev $swp1
65 ip addr flush dev $swp2
68 ip addr add dev $swp1 192.0.2.1/28
71 ip link set dev $swp1 addr 00:11:22:33:44:55
76 ip addr add dev $swp2 192.0.2.2/28 &>/dev/null
78 ip addr add dev $swp2 192.0.2.2/28 2>&1 >/dev/null \
[all …]
Dvxlan.sh19 ip link set dev $swp1 up
20 ip link set dev $swp2 up
27 ip link set dev $swp2 down
28 ip link set dev $swp1 down
33 ip link set dev $swp1 master br0
35 ip link set dev vxlan0 master br0
38 ip link set dev $swp1 nomaster
40 ip link set dev $swp1 master br0
46 ip link set dev $swp1 master br0
48 ip link set dev vxlan0 master br0 &> /dev/null
[all …]
/external/iproute2/testsuite/tests/tc/
Dpedit.t86 do_pedit ip ihl set 0x04
88 do_pedit ip ihl set 0x40
90 do_pedit ip ihl preserve
92 do_pedit ip ihl invert
94 do_pedit ip ihl clear
96 do_pedit ip src set 1.2.3.4
98 do_pedit ip src preserve
100 do_pedit ip src invert
102 do_pedit ip src clear
104 do_pedit ip dst set 1.2.3.4
[all …]
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Drouter_mpath_nh.sh11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-h1 up
14 ip link set dev $h1 up
16 ip address add 192.0.2.2/24 dev $h1
17 ip address add 2001:db8:1::2/64 dev $h1
19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
25 ip route del 2001:db8:2::/64 vrf vrf-h1
26 ip route del 198.51.100.0/24 vrf vrf-h1
28 ip address del 2001:db8:1::2/64 dev $h1
[all …]
Dvxlan_symmetric.sh122 ip link set dev $if_name master $vrf_name
123 ip link set dev $vrf_name up
124 ip link set dev $if_name up
126 ip address add $ip_addr/24 dev $if_name
127 ip neigh replace $gw_ip lladdr 00:00:5e:00:01:01 nud permanent \
129 ip route add default vrf $vrf_name nexthop via $gw_ip
140 ip route del default vrf $vrf_name nexthop via $gw_ip
141 ip neigh del $gw_ip dev $if_name
142 ip address del $ip_addr/24 dev $if_name
144 ip link set dev $if_name down
[all …]
Drouter_multipath.sh11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-h1 up
14 ip link set dev $h1 up
16 ip address add 192.0.2.2/24 dev $h1
17 ip address add 2001:db8:1::2/64 dev $h1
19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
25 ip route del 2001:db8:2::/64 vrf vrf-h1
26 ip route del 198.51.100.0/24 vrf vrf-h1
28 ip address del 2001:db8:1::2/64 dev $h1
[all …]
Dvxlan_asymmetric.sh112 ip link set dev $if_name master $vrf_name
113 ip link set dev $vrf_name up
114 ip link set dev $if_name up
116 ip address add $ip_addr/24 dev $if_name
117 ip neigh replace $gw_ip lladdr 00:00:5e:00:01:01 nud permanent \
119 ip route add default vrf $vrf_name nexthop via $gw_ip
130 ip route del default vrf $vrf_name nexthop via $gw_ip
131 ip neigh del $gw_ip dev $if_name
132 ip address del $ip_addr/24 dev $if_name
134 ip link set dev $if_name down
[all …]
Drouter.sh11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-h1 up
14 ip link set dev $h1 up
16 ip address add 192.0.2.2/24 dev $h1
17 ip address add 2001:db8:1::2/64 dev $h1
19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
25 ip route del 2001:db8:2::/64 vrf vrf-h1
26 ip route del 198.51.100.0/24 vrf vrf-h1
28 ip address del 2001:db8:1::2/64 dev $h1
[all …]
/external/libvpx/libvpx/vp8/encoder/
Ddct.c18 short *ip = input; in vp8_short_fdct4x4_c() local
22 a1 = ((ip[0] + ip[3]) * 8); in vp8_short_fdct4x4_c()
23 b1 = ((ip[1] + ip[2]) * 8); in vp8_short_fdct4x4_c()
24 c1 = ((ip[1] - ip[2]) * 8); in vp8_short_fdct4x4_c()
25 d1 = ((ip[0] - ip[3]) * 8); in vp8_short_fdct4x4_c()
33 ip += pitch / 2; in vp8_short_fdct4x4_c()
36 ip = output; in vp8_short_fdct4x4_c()
39 a1 = ip[0] + ip[12]; in vp8_short_fdct4x4_c()
40 b1 = ip[4] + ip[8]; in vp8_short_fdct4x4_c()
41 c1 = ip[4] - ip[8]; in vp8_short_fdct4x4_c()
[all …]
/external/iptables/iptables/
Dnft-ipv4.c36 if (cs->fw.ip.iniface[0] != '\0') { in nft_ipv4_add()
37 op = nft_invflags2cmp(cs->fw.ip.invflags, IPT_INV_VIA_IN); in nft_ipv4_add()
38 add_iniface(r, cs->fw.ip.iniface, op); in nft_ipv4_add()
41 if (cs->fw.ip.outiface[0] != '\0') { in nft_ipv4_add()
42 op = nft_invflags2cmp(cs->fw.ip.invflags, IPT_INV_VIA_OUT); in nft_ipv4_add()
43 add_outiface(r, cs->fw.ip.outiface, op); in nft_ipv4_add()
46 if (cs->fw.ip.proto != 0) { in nft_ipv4_add()
47 op = nft_invflags2cmp(cs->fw.ip.invflags, XT_INV_PROTO); in nft_ipv4_add()
48 add_l4proto(r, cs->fw.ip.proto, op); in nft_ipv4_add()
51 if (cs->fw.ip.src.s_addr || cs->fw.ip.smsk.s_addr || cs->fw.ip.invflags & IPT_INV_SRCIP) { in nft_ipv4_add()
[all …]
/external/libvpx/libvpx/vp8/common/
Didctllm.c36 short *ip = input; in vp8_short_idct4x4llm_c() local
42 a1 = ip[0] + ip[8]; in vp8_short_idct4x4llm_c()
43 b1 = ip[0] - ip[8]; in vp8_short_idct4x4llm_c()
45 temp1 = (ip[4] * sinpi8sqrt2) >> 16; in vp8_short_idct4x4llm_c()
46 temp2 = ip[12] + ((ip[12] * cospi8sqrt2minus1) >> 16); in vp8_short_idct4x4llm_c()
49 temp1 = ip[4] + ((ip[4] * cospi8sqrt2minus1) >> 16); in vp8_short_idct4x4llm_c()
50 temp2 = (ip[12] * sinpi8sqrt2) >> 16; in vp8_short_idct4x4llm_c()
59 ip++; in vp8_short_idct4x4llm_c()
63 ip = output; in vp8_short_idct4x4llm_c()
67 a1 = ip[0] + ip[2]; in vp8_short_idct4x4llm_c()
[all …]
/external/linux-kselftest/tools/testing/selftests/net/
Drtnetlink.sh31 ip link add name "$devdummy" type dummy
33 ip link set "$devdummy" up
39 ip link del dev "$devdummy"
48 ip netconf show dev "$dev" > /dev/null
52 ip -$f netconf show dev "$dev" > /dev/null
70 ip link add name "$devbr" type bridge
73 ip link set dev "$devdummy" master "$devbr"
76 ip link set "$devbr" up
79 ip link add link "$devbr" name "$vlandev" type vlan id 1
81 ip addr add dev "$vlandev" 10.200.7.23/30
[all …]
Dtraceroute.sh49 out=$(eval ip netns exec ${ns} ${cmd} 2>&1)
72 ip netns add ${ns}
74 ip netns exec ${ns} ip link set lo up
76 ip netns exec ${ns} ip addr add dev lo ${addr}
79 ip netns exec ${ns} ip -6 addr add dev lo ${addr6}
82 ip netns exec ${ns} ip ro add unreachable default metric 8192
83 ip netns exec ${ns} ip -6 ro add unreachable default metric 8192
85 ip netns exec ${ns} sysctl -qw net.ipv4.ip_forward=1
86 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
87 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.forwarding=1
[all …]
Dicmp_redirect.sh117 addr=$(ip -netns $ns -6 -br addr show dev ${dev} | \
142 ip netns del $ns 2>/dev/null
150 ip -netns ${ns} link add ${VRF} type vrf table ${VRF_TABLE}
151 ip -netns ${ns} link set ${VRF} up
152 ip -netns ${ns} route add vrf ${VRF} unreachable default metric 8192
153 ip -netns ${ns} -6 route add vrf ${VRF} unreachable default metric 8192
155 ip -netns ${ns} addr add 127.0.0.1/8 dev ${VRF}
156 ip -netns ${ns} -6 addr add ::1 dev ${VRF} nodad
158 ip -netns ${ns} ru del pref 0
159 ip -netns ${ns} ru add pref 32765 from all lookup local
[all …]
/external/webrtc/rtc_base/
Dip_address.cc43 static bool IPIsHelper(const IPAddress& ip,
226 static bool IPIsPrivateNetworkV4(const IPAddress& ip) { in IPIsPrivateNetworkV4() argument
227 uint32_t ip_in_host_order = ip.v4AddressAsHostOrderInteger(); in IPIsPrivateNetworkV4()
233 static bool IPIsPrivateNetworkV6(const IPAddress& ip) { in IPIsPrivateNetworkV6() argument
234 return IPIsHelper(ip, kPrivateNetworkPrefix, 8); in IPIsPrivateNetworkV6()
237 bool IPIsPrivateNetwork(const IPAddress& ip) { in IPIsPrivateNetwork() argument
238 switch (ip.family()) { in IPIsPrivateNetwork()
240 return IPIsPrivateNetworkV4(ip); in IPIsPrivateNetwork()
243 return IPIsPrivateNetworkV6(ip); in IPIsPrivateNetwork()
249 static bool IPIsSharedNetworkV4(const IPAddress& ip) { in IPIsSharedNetworkV4() argument
[all …]
/external/zstd/lib/compress/
Dzstd_double_fast.c25 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTable() local
33 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTable()
34 U32 const curr = (U32)(ip - base); in ZSTD_fillDoubleHashTable()
37 size_t const smHash = ZSTD_hashPtr(ip + i, hBitsS, mls); in ZSTD_fillDoubleHashTable()
38 size_t const lgHash = ZSTD_hashPtr(ip + i, hBitsL, 8); in ZSTD_fillDoubleHashTable()
63 const BYTE* ip = istart; in ZSTD_compressBlock_doubleFast_generic() local
97 const U32 dictAndPrefixLength = (U32)((ip - prefixLowest) + (dictEnd - dictStart)); in ZSTD_compressBlock_doubleFast_generic()
109 ip += (dictAndPrefixLength == 0); in ZSTD_compressBlock_doubleFast_generic()
111 U32 const curr = (U32)(ip - base); in ZSTD_compressBlock_doubleFast_generic()
125 while (ip < ilimit) { /* < instead of <=, because repcode check at (ip+1) */ in ZSTD_compressBlock_doubleFast_generic()
[all …]
/external/iptables/extensions/
Dlibebt_ip.t2 -p ip --ip-src ! 192.168.0.0/24 -j ACCEPT;-p IPv4 --ip-src ! 192.168.0.0/24 -j ACCEPT;OK
3 -p IPv4 --ip-dst 10.0.0.1;=;OK
4 -p IPv4 --ip-tos 0xFF;=;OK
5 -p IPv4 --ip-tos ! 0xFF;=;OK
6 -p IPv4 --ip-proto tcp --ip-dport 22;=;OK
7 -p IPv4 --ip-proto udp --ip-sport 1024:65535;=;OK
8 -p IPv4 --ip-proto 253;=;OK
9 -p IPv4 --ip-proto icmp --ip-icmp-type echo-request;=;OK
10 -p IPv4 --ip-proto icmp --ip-icmp-type 1/1;=;OK
11 -p ip --ip-protocol icmp --ip-icmp-type ! 1:10;-p IPv4 --ip-proto icmp --ip-icmp-type ! 1:10/0:255 …
[all …]

12345678910>>...82