/openbmc/linux/arch/arm/lib/ |
H A D | csumpartialcopygeneric.S | 36 load1b ip 63 load1b ip 118 sub ip, ip, #16 119 teq ip, #0 124 tst ip, #8 130 tst ip, #4 170 cmp ip, #2 190 sub ip, ip, #16 191 teq ip, #0 242 sub ip, ip, #16 [all …]
|
H A D | csumipv6.S | 14 adds ip, r2, r3 16 adcs ip, ip, r1 17 adcs ip, ip, r2 18 adcs ip, ip, r3 19 adcs ip, ip, lr 21 adcs r0, ip, r0
|
/openbmc/linux/Documentation/networking/dsa/ |
H A D | configuration.rst | 101 ip link set eth0 up 104 ip link set lan1 up 105 ip link set lan2 up 106 ip link set lan3 up 113 ip link set eth0 up 116 ip link set lan1 up 142 ip link set wan up 419 ip link set eth1 down && ip link set eth1 master bond0 424 ip link set eth0 down && ip link set eth0 master bond0 431 ip link set eth0 down && ip link set eth0 master bond0 [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | with_addr.sh | 22 ip -6 addr add "${V6_INNER}" dev lo || fail 'failed to setup v6 address' 23 ip -4 addr add "${V4_INNER}" dev lo || fail 'failed to setup v4 address' 26 ip link add "${SIT_DEV_NAME}" type sit remote any local any \ 28 ip link set dev "${SIT_DEV_NAME}" up \ 30 ip -6 addr add "${V6_SIT}" dev "${SIT_DEV_NAME}" \ 32 ip -4 addr add "${V4_SIT}" dev "${SIT_DEV_NAME}" \ 41 ip -4 addr del "${V4_SIT}" dev "${SIT_DEV_NAME}" 42 ip -6 addr del "${V6_SIT}" dev "${SIT_DEV_NAME}" 43 ip link del "${SIT_DEV_NAME}" 46 ip -4 addr del "${V4_INNER}" dev lo [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_sticky_fdb.sh | 11 ip link add dev br0 type bridge 16 ip link set dev br0 up 17 ip link set dev $h1 up 18 ip link set dev $swp1 up 19 ip link set dev $h2 up 20 ip link set dev $swp2 up 25 ip link set dev $swp2 down 26 ip link set dev $h2 down 27 ip link set dev $swp1 down 28 ip link set dev $h1 down [all …]
|
H A D | mirror_topo_lib.sh | 60 ip link set dev $swp3 up 63 ip link set dev br1 addrgenmode none 64 ip link set dev br1 up 66 ip link set dev $swp1 master br1 67 ip link set dev $swp1 up 69 ip link set dev $swp2 master br1 70 ip link set dev $swp2 up 79 ip link set dev $swp1 down 80 ip link set dev $swp2 down 81 ip link del dev br1 [all …]
|
H A D | mirror_gre_nh.sh | 40 ip address add dev $swp3 192.0.2.161/28 41 ip address add dev $h3 192.0.2.162/28 42 ip address add dev gt4 192.0.2.129/32 43 ip address add dev h3-gt4 192.0.2.130/32 48 ip address add dev $swp3 2001:db8:4::1/64 50 ip address add dev $h3 2001:db8:4::2/64 51 ip address add dev gt6 2001:db8:2::1 52 ip address add dev h3-gt6 2001:db8:2::2 60 ip address del dev $h3 2001:db8:4::2/64 63 ip address del dev $h3 192.0.2.162/28 [all …]
|
H A D | router_bridge_vlan_upper_pvid.sh | 47 ip -6 route del 2001:db8:2::/64 vrf v$h1 48 ip -4 route del 192.0.2.128/28 vrf v$h1 63 ip -4 route del 192.0.2.0/28 vrf v$h2 71 ip link set dev br1 up 73 ip link set dev $swp1 master br1 74 ip link set dev $swp1 up 76 ip link set dev $swp2 up 91 ip link set dev $swp2 down 93 ip link set dev $swp1 down 94 ip link set dev $swp1 nomaster [all …]
|
H A D | mirror_gre_vlan.sh | 35 ip address add dev $swp3.555 192.0.2.129/32 36 ip address add dev $swp3.555 2001:db8:2::1/128 37 ip link set dev $swp3.555 up 39 ip route add 192.0.2.130/32 dev $swp3.555 40 ip -6 route add 2001:db8:2::2/128 dev $swp3.555 43 ip link set dev $h3.555 master v$h3 44 ip address add dev $h3.555 192.0.2.130/28 45 ip address add dev $h3.555 2001:db8:2::2/64 46 ip link set dev $h3.555 up 53 ip link del dev $h3.555 [all …]
|
H A D | gre_inner_v4_multipath.sh | 108 ip route del vrf v$ol1 192.0.4.0/24 110 ip route del vrf v$ol1 192.0.2.66/32 126 ip route add vrf v$ul21 192.0.2.66/32 \ 133 ip route del vrf v$ul21 192.0.2.66/32 134 ip route del vrf v$ul21 192.0.2.65/32 150 ip route add vrf v$ul31 192.0.2.65/32 \ 165 ip route del vrf v$ul31 192.0.2.65/32 166 ip route del vrf v$ul31 192.0.2.66/32 188 ip route del vrf v$ol4 192.0.3.0/24 190 ip route del vrf v$ol4 192.0.2.65/32 [all …]
|
H A D | bridge_igmp.sh | 61 ip link set dev $swp1 master br0 62 ip link set dev $swp2 master br0 64 ip link set dev br0 up 65 ip link set dev $swp1 up 66 ip link set dev $swp2 up 71 ip link set dev $swp2 down 72 ip link set dev $swp1 down 74 ip link del dev br0 108 ip address add dev $h2 $TEST_GROUP/32 autojoin 124 ip address del dev $h2 $TEST_GROUP/32 [all …]
|
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/ |
H A D | gbmc-br-lib.sh | 65 local ip="${1-}" 67 if [ -z "$ip" ] && ! ip="$(cat /var/google/gbmc-br-ip 2>/dev/null)"; then 77 if ! ip_to_bytes pfx_bytes "$ip"; then 78 echo "Ignoring Invalid IPv6: $ip" >&2 116 local ip="${1-}" 118 if [ -n "$ip" ]; then 120 [ "$old_ip" == "$ip" ] && return 122 echo "$ip" >/var/google/gbmc-br-ip || return 125 rm -rf /var/google/gbmc-br-ip 128 gbmc_br_run_hooks GBMC_BR_LIB_SET_IP_HOOKS "$ip" || return [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | fib.sh | 100 ip -n $ns link add name dummy1 type dummy 101 ip -n $ns link set dev dummy1 up 103 ip -n $ns route add table local 192.0.2.1/32 dev dummy1 107 ip -n $ns route add table main 192.0.2.1/32 dev dummy1 115 ip -n $ns route add table main 192.0.2.2/32 dev dummy1 128 ip -n $ns link del dev dummy1 197 ip -n $ns link add name dummy1 type dummy 198 ip -n $ns link set dev dummy1 up 225 ip -n $ns link del dev dummy1 240 ip netns add testns1 [all …]
|
H A D | devlink_trap_tunnel_vxlan.sh | 66 ip link set dev br1 up 70 ip link set dev $swp1 up 75 ip link set dev vx1 up 78 ip link set dev $rp1 up 83 ip link set dev $rp1 down 86 ip link set dev vx1 down 87 ip link set dev vx1 nomaster 88 ip link del dev vx1 90 ip link set dev $swp1 down 94 ip link set dev br1 down [all …]
|
H A D | devlink_trap_l3_exceptions.sh | 99 ip link set dev $rp1 up 100 ip link set dev $rp2 up 115 ip link set dev $rp2 down 116 ip link set dev $rp1 down 380 ip neigh flush dev $rp2 465 ip route add $dip nhid 10 475 ip route del $dip nhid 10 476 ip nexthop del id 10 477 ip nexthop del id 1 503 ip link set dev vrf1 up [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | vxlan_flooding_ipv6.sh | 72 ip link set dev br0 up 73 ip link set dev $swp1 up 74 ip link set dev vxlan0 up 79 ip link set dev vxlan0 down 80 ip link set dev $swp1 down 81 ip link set dev br0 down 84 ip link set dev $swp1 nomaster 88 ip link del dev vxlan0 90 ip link del dev br0 97 ip link set dev $rp1 up [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | l2_tos_ttl_inherit.sh | 105 ip netns add "${NS0}" 106 ip netns add "${NS1}" 109 ip -netns "${NS0}" link set dev veth0 up 110 ip -netns "${NS1}" link set dev veth1 up 111 ip -netns "${NS0}" address flush dev veth0 163 ip -netns "${NS0}" link set tep0 up 164 ip -netns "${NS1}" link set tep1 up 165 ip -netns "${NS0}" address flush dev tep0 166 ip -netns "${NS1}" address flush dev tep1 382 ip netns del "${NS0}" 2>/dev/null [all …]
|
H A D | udpgro_frglist.sh | 17 [ -n "$ns" ] && ip netns del $ns 2>/dev/null 29 ip netns add "${PEER_NS}" 30 ip -netns "${PEER_NS}" link set lo up 31 ip link add type veth 32 ip link set dev veth0 up 33 ip addr add dev veth0 192.168.1.2/24 34 ip addr add dev veth0 2001:db8::2/64 nodad 36 ip link set dev veth1 netns "${PEER_NS}" 37 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24 39 ip -netns "${PEER_NS}" link set dev veth1 up [all …]
|
H A D | cmsg_so_mark.sh | 13 ip netns del $NS 19 ip netns add $NS 24 ip -netns $NS link add type dummy 25 ip -netns $NS link set dev dummy0 up 26 ip -netns $NS addr add $IP4 dev dummy0 27 ip -netns $NS addr add $IP6 dev dummy0 29 ip -netns $NS rule add fwmark $MARK lookup 300 30 ip -6 -netns $NS rule add fwmark $MARK lookup 300 31 ip -netns $NS route add prohibit any table 300 32 ip -6 -netns $NS route add prohibit any table 300 [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | preemptirq.h | 16 TP_PROTO(unsigned long ip, unsigned long parent_ip), 18 TP_ARGS(ip, parent_ip), 26 __entry->caller_offs = (s32)(ip - (unsigned long)_stext); 37 TP_PROTO(unsigned long ip, unsigned long parent_ip), 38 TP_ARGS(ip, parent_ip)); 41 TP_PROTO(unsigned long ip, unsigned long parent_ip), 42 TP_ARGS(ip, parent_ip)); 52 TP_PROTO(unsigned long ip, unsigned long parent_ip), 53 TP_ARGS(ip, parent_ip)); 56 TP_PROTO(unsigned long ip, unsigned long parent_ip), [all …]
|
/openbmc/u-boot/lib/ |
H A D | lz4.c | 83 const BYTE* ip = (const BYTE*) source; in LZ4_decompress_generic() local 84 const BYTE* const iend = ip + inputSize; in LZ4_decompress_generic() 114 token = *ip++; in LZ4_decompress_generic() 120 s = *ip++; in LZ4_decompress_generic() 125 …if ((safeDecode) && unlikely((size_t)(ip+length)<(size_t)(ip))) goto _output_error; /* overflow … in LZ4_decompress_generic() 143 memcpy(op, ip, length); in LZ4_decompress_generic() 144 ip += length; in LZ4_decompress_generic() 148 LZ4_wildCopy(op, ip, cpy); in LZ4_decompress_generic() 149 ip += length; op = cpy; in LZ4_decompress_generic() 152 match = cpy - LZ4_readLE16(ip); ip+=2; in LZ4_decompress_generic() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | bond_options.sh | 20 ip -n ${s_ns} link set eth0 type bond_slave prio 10 24 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10" 42 ip -n ${s_ns} link del bond1 69 ip -n ${s_ns} link set eth0 type bond_slave prio 0 88 ip -n ${s_ns} link set $active_slave down 93 ip -n ${s_ns} link set $active_slave down 98 ip -n ${s_ns} link set eth2 up 114 ip -n ${s_ns} link set eth1 up 125 ip -n ${s_ns} link set $active_slave down 144 ip -n ${s_ns} link set $active_slave down [all …]
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_net.c | 43 __be32 ip; member 56 return ip1->ip == ip2->ip && in hash_net4_data_equal() 105 next->ip = d->ip; in hash_net4_data_next() 175 e.ip = htonl(ip & ip_set_hostmask(e.cidr)); in hash_net4_uadt() 181 ip_to = ip; in hash_net4_uadt() 186 if (ip_to < ip) in hash_net4_uadt() 187 swap(ip, ip_to); in hash_net4_uadt() 193 ip = ntohl(h->next.ip); in hash_net4_uadt() 196 e.ip = htonl(ip); in hash_net4_uadt() 201 ip = ip_set_range_to_cidr(ip, ip_to, &e.cidr); in hash_net4_uadt() [all …]
|
/openbmc/qemu/net/ |
H A D | checksum.c | 63 struct ip_header *ip; in net_checksum_calculate() local 104 ip = (struct ip_header *)(data + mac_hdr_len); in net_checksum_calculate() 112 stw_he_p(&ip->ip_sum, 0); in net_checksum_calculate() 113 csum = net_raw_checksum((uint8_t *)ip, IP_HDR_GET_LEN(ip)); in net_checksum_calculate() 114 stw_be_p(&ip->ip_sum, csum); in net_checksum_calculate() 117 if (IP4_IS_FRAGMENT(ip)) { in net_checksum_calculate() 121 ip_len = lduw_be_p(&ip->ip_len); in net_checksum_calculate() 128 ip_len -= IP_HDR_GET_LEN(ip); in net_checksum_calculate() 130 switch (ip->ip_p) { in net_checksum_calculate() 137 tcp_header *tcp = (tcp_header *)(ip + 1); in net_checksum_calculate() [all …]
|
/openbmc/linux/arch/arm/kernel/ |
H A D | ftrace.c | 74 likely(!is_kernel_inittext(rec->ip))) in adjust_address() 148 unsigned long ip = rec->ip; in ftrace_make_call() local 158 new = ftrace_call_replace(ip, aaddr, !mod); in ftrace_make_call() 161 aaddr = get_module_plt(mod, ip, aaddr); in ftrace_make_call() 162 new = ftrace_call_replace(ip, aaddr, true); in ftrace_make_call() 175 unsigned long ip = rec->ip; in ftrace_modify_call() local 190 unsigned long ip = rec->ip; in ftrace_make_nop() local 203 old = ftrace_call_replace(ip, aaddr, in ftrace_make_nop() 207 aaddr = get_module_plt(mod, ip, aaddr); in ftrace_make_nop() 208 old = ftrace_call_replace(ip, aaddr, true); in ftrace_make_nop() [all …]
|