/external/libvpx/vp8/common/mips/dspr2/ |
D | idctllm_dspr2.c | 43 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/ |
D | test_setup.sh | 10 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/ |
D | test_lwt_seg6local.sh | 44 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 …]
|
D | test_tunnel.sh | 56 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 …]
|
D | test_lwt_ip_encap.sh | 111 ip netns add "${NS1}" 112 ip netns add "${NS2}" 113 ip netns add "${NS3}" 116 ip netns exec ${NS1} sysctl -wq net.ipv4.conf.all.rp_filter=0 117 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.all.rp_filter=0 118 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.all.rp_filter=0 119 ip netns exec ${NS1} sysctl -wq net.ipv4.conf.default.rp_filter=0 120 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.default.rp_filter=0 121 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.default.rp_filter=0 123 ip link add veth1 type veth peer name veth2 [all …]
|
D | test_xdp_vlan.sh | 58 ip link del veth1 2> /dev/null 59 ip netns del ns1 2> /dev/null 60 ip netns del ns2 2> /dev/null 120 ip link set dev lo xdpgeneric off 2>/dev/null > /dev/null 128 ip link del veth1 2> /dev/null 129 ip netns del ns1 2> /dev/null 130 ip netns del ns2 2> /dev/null 137 which ip > /dev/null 147 ip netns add ns1 148 ip netns add ns2 [all …]
|
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/ |
D | rtnetlink.sh | 49 ip link set dev $swp1 up 50 ip link set dev $swp2 up 57 ip link set dev $swp2 down 58 ip link set dev $swp1 down 67 ip link add name vrf-test type vrf table 10 68 ip link set dev $swp1 master vrf-test 70 ip -4 address add 192.0.2.1/24 dev vrf-test 72 ip -6 address add 2001:db8:1::1/64 dev vrf-test 77 ip link del dev vrf-test 87 ip addr add dev $swp1 192.0.2.1/28 [all …]
|
D | q_in_q_veto.sh | 28 ip link set dev $swp1 up 29 ip link set dev $swp2 up 38 ip link set dev $swp2 down 39 ip link set dev $swp1 down 49 ip link add dev br0 type bridge vlan_filtering 1 \ 52 ip link set dev br0 up 53 ip link set dev $swp1 master br0 55 ip link add name br0.100 link br0 type vlan \ 59 ip link add name br0.100 link br0 type vlan \ 66 ip link del dev br0 [all …]
|
/external/linux-kselftest/tools/testing/selftests/netfilter/ |
D | ipvs.sh | 56 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 …]
|
/external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
D | router_mpath_nh_res.sh | 15 ip link set dev $h1 master vrf-h1 17 ip link set dev vrf-h1 up 18 ip link set dev $h1 up 20 ip address add 192.0.2.2/24 dev $h1 21 ip address add 2001:db8:1::2/64 dev $h1 23 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 24 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 29 ip route del 2001:db8:2::/64 vrf vrf-h1 30 ip route del 198.51.100.0/24 vrf vrf-h1 32 ip address del 2001:db8:1::2/64 dev $h1 [all …]
|
D | router_mpath_nh.sh | 17 ip link set dev $h1 master vrf-h1 19 ip link set dev vrf-h1 up 20 ip link set dev $h1 up 22 ip address add 192.0.2.2/24 dev $h1 23 ip address add 2001:db8:1::2/64 dev $h1 25 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 26 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 31 ip route del 2001:db8:2::/64 vrf vrf-h1 32 ip route del 198.51.100.0/24 vrf vrf-h1 34 ip address del 2001:db8:1::2/64 dev $h1 [all …]
|
D | fib_offload_lib.sh | 13 ip -n $ns -j -p -$family route show $route \ 63 ip -n $ns link add name dummy$i type dummy 64 ip -n $ns link set dev dummy$i up 67 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024 71 ip -n $ns route append 192.0.2.0/24 dev dummy2 tos 0 metric 1024 75 ip -n $ns route prepend 192.0.2.0/24 dev dummy3 tos 0 metric 1024 85 ip -n $ns link del dev dummy$i 95 ip -n $ns link add name dummy1 type dummy 96 ip -n $ns link set dev dummy1 up 98 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024 [all …]
|
D | vxlan_asymmetric.sh | 112 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 …]
|
D | router_multipath.sh | 11 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 …]
|
D | vxlan_symmetric.sh | 122 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 …]
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | amt.sh | 86 ip netns delete "${ns}" 2>/dev/null || true 94 ip netns add "${LISTENER}" || exit_cleanup 95 ip netns add "${GATEWAY}" || exit_cleanup "${LISTENER}" 96 ip netns add "${RELAY}" || exit_cleanup "${LISTENER}" "${GATEWAY}" 97 ip netns add "${SOURCE}" || exit_cleanup "${LISTENER}" "${GATEWAY}" \ 111 ip -netns "${ns}" link set dev lo up 114 ip link add l_gw type veth peer name gw_l 115 ip link add gw_relay type veth peer name relay_gw 116 ip link add relay_src type veth peer name src_relay 118 ip link set l_gw netns "${LISTENER}" up [all …]
|
D | traceroute.sh | 49 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 …]
|
D | rtnetlink.sh | 30 ip link add name "$devdummy" type dummy 32 ip link set "$devdummy" up 38 ip link del dev "$devdummy" 47 ip netconf show dev "$dev" > /dev/null 51 ip -$f netconf show dev "$dev" > /dev/null 69 ip link add name "$devbr" type bridge 72 ip link set dev "$devdummy" master "$devbr" 75 ip link set "$devbr" up 78 ip link add link "$devbr" name "$vlandev" type vlan id 1 80 ip addr add dev "$vlandev" 10.200.7.23/30 [all …]
|
/external/iproute2/testsuite/tests/tc/ |
D | pedit.t | 86 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/mptcp/ |
D | mptcp_join.sh | 50 ip netns add $netns || exit $ksft_skip 51 ip -net $netns link set lo up 52 ip netns exec $netns sysctl -q net.mptcp.enabled=1 53 ip netns exec $netns sysctl -q net.ipv4.conf.all.rp_filter=0 54 ip netns exec $netns sysctl -q net.ipv4.conf.default.rp_filter=0 56 ip netns exec $netns sysctl -q net.mptcp.checksum_enabled=1 67 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2" 68 ip -net "$ns1" addr add 10.0.$i.1/24 dev ns1eth$i 69 ip -net "$ns1" addr add dead:beef:$i::1/64 dev ns1eth$i nodad 70 ip -net "$ns1" link set ns1eth$i up [all …]
|
/external/iptables/iptables/ |
D | nft-ipv4.c | 36 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/vp8/encoder/ |
D | dct.c | 18 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/zstd/lib/compress/ |
D | zstd_double_fast.c | 25 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() 92 const BYTE* ip = istart; /* the current position */ in ZSTD_compressBlock_doubleFast_noDict_generic() local 98 ip += ((ip - prefixLowest) == 0); in ZSTD_compressBlock_doubleFast_noDict_generic() 100 U32 const current = (U32)(ip - base); in ZSTD_compressBlock_doubleFast_noDict_generic() 110 nextStep = ip + kStepIncr; in ZSTD_compressBlock_doubleFast_noDict_generic() 111 ip1 = ip + step; in ZSTD_compressBlock_doubleFast_noDict_generic() [all …]
|
/external/libvpx/vp8/common/ |
D | idctllm.c | 36 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/webrtc/rtc_base/ |
D | ip_address.cc | 46 static bool IPIsHelper(const IPAddress& ip, 224 static bool IPIsPrivateNetworkV4(const IPAddress& ip) { in IPIsPrivateNetworkV4() argument 225 uint32_t ip_in_host_order = ip.v4AddressAsHostOrderInteger(); in IPIsPrivateNetworkV4() 231 static bool IPIsPrivateNetworkV6(const IPAddress& ip) { in IPIsPrivateNetworkV6() argument 232 return IPIsHelper(ip, kPrivateNetworkPrefix, 8); in IPIsPrivateNetworkV6() 235 bool IPIsPrivateNetwork(const IPAddress& ip) { in IPIsPrivateNetwork() argument 236 switch (ip.family()) { in IPIsPrivateNetwork() 238 return IPIsPrivateNetworkV4(ip); in IPIsPrivateNetwork() 241 return IPIsPrivateNetworkV6(ip); in IPIsPrivateNetwork() 247 static bool IPIsSharedNetworkV4(const IPAddress& ip) { in IPIsSharedNetworkV4() argument [all …]
|