Home
last modified time | relevance | path

Searched refs:IP (Results 1 – 25 of 846) sorted by relevance

12345678910>>...34

/openbmc/linux/tools/testing/selftests/net/
H A Dfib_nexthops.sh180 IP="ip -netns me"
183 $IP li add veth1 type veth peer name veth2
184 $IP li set veth1 up
185 $IP addr add 172.16.1.1/24 dev veth1
186 $IP -6 addr add 2001:db8:91::1/64 dev veth1 nodad
188 $IP li add veth3 type veth peer name veth4
189 $IP li set veth3 up
190 $IP addr add 172.16.2.1/24 dev veth3
191 $IP -6 addr add 2001:db8:92::1/64 dev veth3 nodad
193 $IP li set veth2 netns peer up
[all …]
H A Dfib_tests.sh21 IP="$(which ip) -netns ns1"
60 $IP link set dev lo up
64 $IP link add dummy0 type dummy
65 $IP link set dev dummy0 up
66 $IP address add 198.51.100.1/24 dev dummy0
67 $IP -6 address add 2001:db8:1::1/64 dev dummy0
74 $IP link del dev dummy0 &> /dev/null
84 addr=$($IP -6 -br addr show dev ${dev} | \
109 $IP route get fibmatch 198.51.100.2 &> /dev/null
111 $IP -6 route get fibmatch 2001:db8:1::2 &> /dev/null
[all …]
H A Dfib_rule_tests.sh12 IP="ip -netns testns"
88 $IP link set dev lo up
90 $IP link add dummy0 type dummy
91 $IP link set dev dummy0 up
92 $IP address add $DEV_ADDR/24 dev dummy0
93 $IP -6 address add $DEV_ADDR6/64 dev dummy0
100 $IP link del dev dummy0 &> /dev/null
113 $IP link set dev veth0 up
116 $IP address add 192.0.2.10 peer 192.0.2.11/32 dev veth0
119 $IP address add 2001:db8::10 peer 2001:db8::11/128 dev veth0 nodad
[all …]
H A Dio_uring_zerocopy_tx.sh29 for IP in "${IPs[@]}"; do
31 $0 "$IP" udp -m "$mode" -t 1 -n 32
32 $0 "$IP" tcp -m "$mode" -t 1 -n 1
46 readonly IP="$1"
53 if [[ "${IP}" == "4" ]]; then
56 elif [[ "${IP}" == "6" ]]; then
60 echo "Invalid IP version ${IP}"
119 echo "ipv${IP} ${TXMODE} ${ARGS}"
120 ip netns exec "${NS2}" "${BIN_RX}" "-${IP}" -t 2 -C 2 -S "${SADDR}" -D "${DADDR}" -r "${RXMODE}" &
122 ip netns exec "${NS1}" "${BIN_TX}" "-${IP}" -t 1 -D "${DADDR}" ${ARGS} "${TXMODE}"
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dnexthop.sh61 out=$($IP nexthop show ${nharg} | sed -e 's/ *$//')
81 count=$($IP nexthop bucket show id $group_id nhid $nhid |
117 $IP nexthop add id 1 via 192.0.2.2 dev dummy1
124 $IP nexthop del id 1
137 $IP nexthop add id 1 via 192.0.2.2 dev dummy1
139 $IP nexthop add id 2 via 192.0.2.3 dev dummy1 &> /dev/null
147 $IP nexthop flush &> /dev/null
155 $IP nexthop add id 1 via 192.0.2.2 dev dummy1
156 $IP nexthop add id 2 via 192.0.2.3 dev dummy1
158 $IP nexthop add id 10 group 1/2
[all …]
H A Dhw_stats_l3.sh87 local ifindex=$($IP -j link show dev $netdev | jq '.[].ifindex')
125 IP="ip -n testns1"
127 $IP link add name dummy1 type dummy
128 $IP link set dev dummy1 up
129 DUMMY_IFINDEX=$($IP -j link show dev dummy1 | jq '.[].ifindex')
136 $IP link del name dummy1
149 $IP -j stats show dev "$netdev" group offload subgroup hw_stats_info |
174 $IP -j stats show dev "$netdev" group offload subgroup hw_stats_info |
213 $IP stats set dev dummy1 ${type}_stats on
227 $IP stats set dev dummy1 ${type}_stats off
[all …]
H A Dfib_notifications.sh93 $IP monitor route &> $outfile &
95 $IP route add $route dev dummy1
102 $IP route del $route dev dummy1
142 $IP route add $route dev dummy1
147 $IP monitor route &> $outfile &
149 $IP route del $route dev dummy1
185 $IP route add $route dev dummy1
190 $IP monitor route &> $outfile &
192 $IP route replace $route dev dummy2
199 $IP route del $route dev dummy2
[all …]
/openbmc/linux/samples/bpf/
H A Dtc_l2_redirect.sh5 [[ -z $IP ]] && IP='ip'
17 $IP netns add ns1
18 $IP netns add ns2
19 $IP link add ve1 type veth peer name vens1
20 $IP link add ve2 type veth peer name vens2
21 $IP link set dev ve1 up
22 $IP link set dev ve2 up
23 $IP link set dev ve1 mtu 1500
24 $IP link set dev ve2 mtu 1500
25 $IP link set dev vens1 netns ns1
[all …]
H A Dtest_cgrp2_tc.sh11 [ -z "$IP" ] && IP='ip'
74 $IP link add $HOST_IFC type veth peer name $NS_IFC || return $?
75 $IP link set dev $HOST_IFC up || return $?
79 $IP netns add $NS || return $?
80 $IP link set dev $NS_IFC netns $NS || return $?
81 $IP -n $NS link set dev $NS_IFC up || return $?
82 $IP netns exec $NS sysctl -q net.ipv6.conf.$NS_IFC.disable_ipv6=0
83 $IP netns exec $NS sysctl -q net.ipv6.conf.$NS_IFC.accept_dad=0
88 $IP netns del $NS
89 $IP link del $HOST_IFC
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_lan_tx_rx.h723 ICE_PTT(22, IP, IPV4, FRG, NONE, NONE, NOF, NONE, PAY3),
724 ICE_PTT(23, IP, IPV4, NOF, NONE, NONE, NOF, NONE, PAY3),
725 ICE_PTT(24, IP, IPV4, NOF, NONE, NONE, NOF, UDP, PAY4),
727 ICE_PTT(26, IP, IPV4, NOF, NONE, NONE, NOF, TCP, PAY4),
728 ICE_PTT(27, IP, IPV4, NOF, NONE, NONE, NOF, SCTP, PAY4),
729 ICE_PTT(28, IP, IPV4, NOF, NONE, NONE, NOF, ICMP, PAY4),
732 ICE_PTT(29, IP, IPV4, NOF, IP_IP, IPV4, FRG, NONE, PAY3),
733 ICE_PTT(30, IP, IPV4, NOF, IP_IP, IPV4, NOF, NONE, PAY3),
734 ICE_PTT(31, IP, IPV4, NOF, IP_IP, IPV4, NOF, UDP, PAY4),
736 ICE_PTT(33, IP, IPV4, NOF, IP_IP, IPV4, NOF, TCP, PAY4),
[all …]
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_common.c542 IAVF_PTT(22, IP, IPV4, FRG, NONE, NONE, NOF, NONE, PAY3),
543 IAVF_PTT(23, IP, IPV4, NOF, NONE, NONE, NOF, NONE, PAY3),
544 IAVF_PTT(24, IP, IPV4, NOF, NONE, NONE, NOF, UDP, PAY4),
546 IAVF_PTT(26, IP, IPV4, NOF, NONE, NONE, NOF, TCP, PAY4),
547 IAVF_PTT(27, IP, IPV4, NOF, NONE, NONE, NOF, SCTP, PAY4),
548 IAVF_PTT(28, IP, IPV4, NOF, NONE, NONE, NOF, ICMP, PAY4),
551 IAVF_PTT(29, IP, IPV4, NOF, IP_IP, IPV4, FRG, NONE, PAY3),
552 IAVF_PTT(30, IP, IPV4, NOF, IP_IP, IPV4, NOF, NONE, PAY3),
553 IAVF_PTT(31, IP, IPV4, NOF, IP_IP, IPV4, NOF, UDP, PAY4),
555 IAVF_PTT(33, IP, IPV4, NOF, IP_IP, IPV4, NOF, TCP, PAY4),
[all …]
/openbmc/openbmc-test-automation/redfish/managers/
H A Dtest_bmc_network_conf.robot41 # There will be 4 octets in IP address (e.g. xx.xx.xx.xx)
58 Get IP Address And Verify
59 [Documentation] Get IP Address And Verify.
63 Verify IP On BMC ${network_configuration['Address']}
93 Verify All Configured IP And Netmask
94 [Documentation] Verify all configured IP and netmask on BMC.
98 Verify IP And Netmask On BMC ${network_configuration['Address']}
152 ... Delete IP Address ${test_ipv4_addr} AND Test Teardown Execution
154 Add IP Address ${test_ipv4_addr} ${test_subnet_mask} ${test_gateway}
160 Add IP Address ${test_ipv4_invalid_addr} ${test_subnet_mask}
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_tunnel_vxlan.sh145 )"45:"$( : IP version + IHL
146 )"00:"$( : IP TOS
147 )"00:14:"$( : IP total length
148 )"00:00:"$( : IP identification
149 )"20:00:"$( : IP flags + frag off
150 )"40:"$( : IP TTL
151 )"00:"$( : IP proto
152 )"D6:E5:"$( : IP header csum
153 )"c0:00:02:03:"$( : IP saddr: 192.0.2.3
154 )"c0:00:02:01:"$( : IP daddr: 192.0.2.1
[all …]
/openbmc/phosphor-networkd/src/
H A Dipaddress.hpp19 sdbusplus::xyz::openbmc_project::Network::server::IP,
22 using IP = sdbusplus::xyz::openbmc_project::Network::server::IP; typedef
44 stdplus::SubnetAny addr, IP::AddressOrigin origin);
49 IP::Protocol type(IP::Protocol type) override;
50 IP::AddressOrigin origin(IP::AddressOrigin origin) override;
56 using IP::address;
57 using IP::gateway;
58 using IP::origin;
59 using IP::prefixLength;
60 using IP::type;
[all …]
H A Dipaddress.cpp40 static inline constexpr auto value = IP::Protocol::IPv4;
46 static inline constexpr auto value = IP::Protocol::IPv6;
62 IP::address(stdplus::toStr(addr.getAddr()), true); in IPAddress()
63 IP::prefixLength(addr.getPfx(), true); in IPAddress()
64 IP::type(std::visit([](auto v) { return Proto<decltype(v)>::value; }, in IPAddress()
67 IP::origin(origin, true); in IPAddress()
82 IP::Protocol IPAddress::type(IP::Protocol /*type*/) in type()
86 IP::AddressOrigin IPAddress::origin(IP::AddressOrigin /*origin*/) in origin()
92 if (origin() != IP::AddressOrigin::Static) in delete_()
/openbmc/openbmc-build-scripts/scripts/
H A Dboot-qemu.sh89 IP=$(awk 'END{print $1}' /etc/hosts)
90 if [[ "$IP" != *.*.*.* ]]; then
91 IP=127.0.0.1
96 …ostfwd=:${IP}:22-:22,hostfwd=:${IP}:443-:443,hostfwd=tcp:${IP}:80-:80,hostfwd=tcp:${IP}:2200-:2200…
115 …wd=tcp:${IP}:22-:22,hostfwd=tcp:${IP}:443-:443,hostfwd=tcp:${IP}:80-:80,hostfwd=tcp:${IP}:2200-:22…
/openbmc/linux/Documentation/networking/
H A Dipddp.rst4 AppleTalk-IP Decapsulation and AppleTalk-IP Encapsulation
14 AppleTalk-IP (IPDDP) is the method computers connected to AppleTalk
15 networks can use to communicate via IP. AppleTalk-IP is simply IP datagrams
19 IP over an AppleTalk network or you can provide IP gatewaying functions
22 You can currently encapsulate or decapsulate AppleTalk-IP on LocalTalk,
28 Compiling AppleTalk-IP Decapsulation/Encapsulation
31 AppleTalk-IP decapsulation needs to be compiled into your kernel. You
32 will need to turn on AppleTalk-IP driver support. Then you will need to
33 select ONE of the two options; IP to AppleTalk-IP encapsulation support or
34 AppleTalk-IP to IP decapsulation support. If you compile the driver
[all …]
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-amd/amd-fpga/files/
H A Dip-to-fpga.sh7 IP=$(ip a | awk '/inet.*global/ {split ($2,A,"/"); print A[1]}')
9 if [ "${IP}" != "${OLD_IP}" ]
11 if [ -n "${IP}" ]
13 IP_1=$(echo "${IP}" | cut -d "." -f 1)
14 IP_2=$(echo "${IP}" | cut -d "." -f 2)
15 IP_3=$(echo "${IP}" | cut -d "." -f 3)
16 IP_4=$(echo "${IP}" | cut -d "." -f 4)
30 OLD_IP=${IP}
/openbmc/phosphor-networkd/test/
H A Dtest_ethernet_interface.cpp51 auto createIPObject(IP::Protocol addressType, const std::string& ipaddress, in createIPObject()
58 IP::Protocol protocol) in createStaticGatewayObject()
106 EXPECT_THROW(createIPObject(IP::Protocol::IPv4, "127.0.0.1", 16), in TEST_F()
108 EXPECT_THROW(createIPObject(IP::Protocol::IPv4, "127.0.0.1", 32), in TEST_F()
110 EXPECT_THROW(createIPObject(IP::Protocol::IPv4, "192.168.1.1", 0), in TEST_F()
112 EXPECT_THROW(createIPObject(IP::Protocol::IPv6, "::1", 64), in TEST_F()
114 EXPECT_THROW(createIPObject(IP::Protocol::IPv6, "::", 128), in TEST_F()
116 EXPECT_THROW(createIPObject(IP::Protocol::IPv6, "fe80::1", 0), in TEST_F()
119 createIPObject(IP::Protocol::IPv4, "10.10.10.10", 16); in TEST_F()
126 createIPObject(IP::Protocol::IPv4, "10.10.10.10", 16); in TEST_F()
[all …]
/openbmc/linux/drivers/usb/usbip/
H A DKconfig4 tristate "USB/IP support"
9 This enables pushing USB packets over IP to allow remote
11 USB/IP core that is required by both drivers.
25 This enables the USB/IP virtual host controller driver,
32 int "Number of ports per USB/IP virtual host controller"
37 To increase number of ports available for USB/IP virtual
39 USB/IP virtual host controller.
42 int "Number of USB/IP virtual host controllers"
47 To increase number of ports available for USB/IP virtual
48 host controller driver, this defines number of USB/IP
[all …]
/openbmc/openbmc-test-automation/network/
H A Dtest_vlan_network.robot29 ${network_resource} xyz.openbmc_project.Network.IP.Protocol.IPv4
30 ${static_network_resource} xyz.openbmc_project.Network.IP.AddressOrigin.Static
74 [Documentation] Configure IP on VLAN and verify it via REST and IPMI.
80 Get VLAN URI For IP ${vlan_id} ${ip}
83 Valid Value lan_config['IP Address'] ["${ip}"]
86 Delete IP On VLAN Via REST
87 [Documentation] Delete IP on VLAN and verify it via REST and IPMI.
94 Valid Value lan_config['IP Address'] ["${ip}"]
96 ${vlan_ip_uri}= Get VLAN URI For IP ${vlan_id} ${ip}
97 Delete IP And Object ${ip} ${vlan_ip_uri}
[all …]
/openbmc/linux/fs/jfs/
H A Djfs_btree.h50 #define BT_PAGE(IP, MP, TYPE, ROOT)\ argument
51 (BT_IS_ROOT(MP) ? (TYPE *)&JFS_IP(IP)->ROOT : (TYPE *)(MP)->data)
54 #define BT_GETPAGE(IP, BN, MP, TYPE, SIZE, P, RC, ROOT)\ argument
58 MP = (struct metapage *)&JFS_IP(IP)->bxflag;\
59 P = (TYPE *)&JFS_IP(IP)->ROOT;\
64 MP = read_metapage((IP), BN, SIZE, 1);\
76 #define BT_MARK_DIRTY(MP, IP)\ argument
79 mark_inode_dirty(IP);\
142 #define BT_GETSEARCH(IP, LEAF, BN, MP, TYPE, P, INDEX, ROOT)\ argument
149 P = (TYPE *)&JFS_IP(IP)->ROOT;\
/openbmc/linux/Documentation/translations/zh_CN/infiniband/
H A Dipoib.rst17 infiniband上的IP(IPoIB)
21 infiniband上IP协议的一个实现。它是一个“本地”实现,即把接口类型设置为
55 允许MTU达到最大的IP包大小64K,这减少了处理大型UDP数据包、TCP段等所需的
56 IP包数量,提高了大型信息的性能。
65 如果IB HW支持IPoIB无状态卸载,IPoIB会向网络堆栈广播TCP/IP校验和/或大量
104 在InfiniBand上传输IP(IPoIB)(RFC 4391)。
107 infiniband上的IP:上的IP架构(RFC 4392)。
110 infiniband上的IP: 连接模式 (RFC 4755)
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c33 [0x21] = WX_PTT(IP, FGV4, NONE, NONE, NONE, PAY3),
34 [0x22] = WX_PTT(IP, IPV4, NONE, NONE, NONE, PAY3),
35 [0x23] = WX_PTT(IP, IPV4, NONE, NONE, UDP, PAY4),
36 [0x24] = WX_PTT(IP, IPV4, NONE, NONE, TCP, PAY4),
37 [0x25] = WX_PTT(IP, IPV4, NONE, NONE, SCTP, PAY4),
38 [0x29] = WX_PTT(IP, FGV6, NONE, NONE, NONE, PAY3),
39 [0x2A] = WX_PTT(IP, IPV6, NONE, NONE, NONE, PAY3),
40 [0x2B] = WX_PTT(IP, IPV6, NONE, NONE, UDP, PAY3),
41 [0x2C] = WX_PTT(IP, IPV6, NONE, NONE, TCP, PAY4),
42 [0x2D] = WX_PTT(IP, IPV6, NONE, NONE, SCTP, PAY4),
[all …]
/openbmc/linux/Documentation/devicetree/bindings/sifive/
H A Dsifive-blocks-ip-versioning.txt1 DT compatible string versioning for SiFive open-source IP blocks
4 strings for open-source SiFive IP blocks. HDL for these IP blocks
9 IP block-specific DT compatible strings are contained within the HDL,
16 Until these IP blocks (or IP integration) support version
17 auto-discovery, the maintainers of these IP blocks intend to increment
19 interface to these IP blocks changes, or when the functionality of the
20 underlying IP blocks changes in a way that software should be aware of.
26 match on these IP block-specific compatible strings.
33 IP block-specific compatible string (such as "sifive,uart0") should

12345678910>>...34