| /openbmc/openbmc-test-automation/redfish/managers/ |
| H A D | test_bmc_network_conf.robot | 41 # 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/u-boot/arch/arm/lib/ |
| H A D | div64.S | 44 * Clobbered regs: xl, ip 52 subs ip, r4, #1 54 tst ip, r4 64 @ The bit position is stored in ip. 69 clz ip, xh 70 sub yl, yl, ip 71 mov ip, #1 72 mov ip, ip, lsl yl 78 mov ip, #1 82 movcc ip, ip, lsl #1 [all …]
|
| H A D | memset.S | 22 mov ip, r0 @ preserve r0 as return value 25 * we know that the pointer in ip is aligned to a word boundary. 43 stmiage ip!, {r1, r3, r8, lr} @ 64 bytes at a time. 44 stmiage ip!, {r1, r3, r8, lr} 45 stmiage ip!, {r1, r3, r8, lr} 46 stmiage ip!, {r1, r3, r8, lr} 53 stmiane ip!, {r1, r3, r8, lr} 54 stmiane ip!, {r1, r3, r8, lr} 56 stmiane ip!, {r1, r3, r8, lr} 75 tstgt ip, #31 [all …]
|
| H A D | memcpy.S | 68 ands ip, r0, #3 71 ands ip, r1, #3 78 CALGN( ands ip, r0, #31 ) 79 CALGN( rsb r3, ip, #32 ) 84 CALGN( add pc, r4, ip ) 94 4: ldr8w r1, r3, r4, r5, r6, r7, r8, ip, lr, abort=20f 96 str8w r0, r3, r4, r5, r6, r7, r8, ip, lr, abort=20f 101 5: ands ip, r2, #28 102 rsb ip, ip, #32 104 lsl ip, ip, #LDR1W_SHIFT [all …]
|
| /openbmc/openbmc-test-automation/network/ |
| H A D | test_vlan_network.robot | 28 ${network_resource} xyz.openbmc_project.Network.IP.Protocol.IPv4 29 ${static_network_resource} xyz.openbmc_project.Network.IP.AddressOrigin.Static 30 ${ip} 10.6.6.10 variable 73 [Documentation] Configure IP on VLAN and verify it via REST and IPMI. 78 Configure Network Settings On VLAN ${vlan_id} ${ip} ${netmask} 79 Get VLAN URI For IP ${vlan_id} ${ip} 82 Valid Value lan_config['IP Address'] ["${ip}"] 85 Delete IP On VLAN Via REST 86 [Documentation] Delete IP on VLAN and verify it via REST and IPMI. 91 Configure Network Settings On VLAN ${vlan_id} ${ip} ${netmask} [all …]
|
| /openbmc/u-boot/lib/lzo/ |
| H A D | lzo1x_decompress.c | 20 #define HAVE_IP(x, ip_end, ip) ((size_t)(ip_end - ip) < (x)) argument 146 const unsigned char *ip = in, *m_pos; in lzo1x_decompress_safe() local 152 if (*ip > 17) { in lzo1x_decompress_safe() 153 t = *ip++ - 17; in lzo1x_decompress_safe() 158 if (HAVE_IP(t + 1, ip_end, ip)) in lzo1x_decompress_safe() 161 *op++ = *ip++; in lzo1x_decompress_safe() 166 while ((ip < ip_end)) { in lzo1x_decompress_safe() 167 t = *ip++; in lzo1x_decompress_safe() 171 if (HAVE_IP(1, ip_end, ip)) in lzo1x_decompress_safe() 173 while (*ip == 0) { in lzo1x_decompress_safe() [all …]
|
| /openbmc/openbmc/meta-google/recipes-google/ncsi/files/ |
| H A D | gbmc-ncsi-br-deprecated-ips.sh.in | 34 local ip 35 for ip in "${!gbmc_ncsi_br_deprecated_ips_savedconf[@]}"; do 36 [[ ${gbmc_ncsi_br_deprecated_ips_savedconf["$ip"]} != $intf ]] && continue 37 ip -6 neigh replace proxy $ip dev $intf || st=$? 43 local ip="$1" 44 local intf="${gbmc_ncsi_br_deprecated_ips_lastip["$ip"]}" 45 local intf_old="${gbmc_ncsi_br_deprecated_ips_confip["$ip"]-}" 46 local del="${gbmc_ncsi_br_deprecated_ips_del["$ip"]-}" 58 printf 'gBMC NCSI %s Deprecated Addrs to %s: %s\n' "$act" "$intf" "$ip" >&2 62 ip_to_bytes pfx_bytes "$ip" [all …]
|
| /openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/ |
| H A D | gbmc-br-lib.sh | 23 # A list of functions which get executed for each configured IP. 55 local ip="$2" 59 if ! ip_to_bytes pfx_bytes "$ip"; then 60 echo "Invalid IPv6 for $name: $ip" >&2 61 ip= 64 if [ -z "$ip" ]; then 65 echo "Removing runtime gbmcbr IP: $name" >&2 66 rm -f /run/systemd/network/{00,}-bmc-gbmcbr.network.d/50-ip-"$name".conf 73 # We either have an inband IP address that has a /76 allocation for 108 echo "Adding runtime gbmcbr IP: $name $pfx stateless($stateless_pfx/$stateless_size)" >&2 [all …]
|
| H A D | gbmc-br-gw-src.sh | 27 # primary IP priority should be higher than NCSI and NIC 73 ip route "$op" $route_new metric "$primary_rt_metric" 2>/dev/null 76 ip route "$op" $route_new metric "$primary_rt_metric" 80 # Notify the tray BMC with the preferred src ip 87 rt="$(ip -6 route get 2000:: 2>/dev/null)" 95 for file in /run/systemd/network/{00,}-bmc-gbmcbr.network.d/70-ip-hybrid-route.conf; do 106 for file in /run/systemd/network/{00,}-bmc-gbmcbr.network.d/70-ip-hybrid-route.conf; do 120 local ip 121 # {dev}-{ip} -> {metric} 123 for ip in "${!gbmc_br_gw_src_ips[@]}"; do [all …]
|
| /openbmc/u-boot/fs/jffs2/ |
| H A D | compr_lzo.c | 97 #define TEST_IP (ip < ip_end) 101 if ((lzo_uint)(ip_end - ip) < (lzo_uint)(x)) goto input_overrun 154 register const lzo_byte *ip; in lzo1x_decompress() local 165 ip = in; in lzo1x_decompress() 167 if (*ip > 17) in lzo1x_decompress() 169 t = *ip++ - 17; in lzo1x_decompress() 175 *op++ = *ip++; in lzo1x_decompress() 182 t = *ip++; in lzo1x_decompress() 188 while (*ip == 0) in lzo1x_decompress() 191 ip++; in lzo1x_decompress() [all …]
|
| /openbmc/qemu/hw/ipack/ |
| H A D | tpci200.c | 38 #define STATUS_INT(IP, INTNO) BIT((IP) * 2 + (INTNO)) argument 39 #define STATUS_TIME(IP) BIT((IP) + 12) argument 109 IPackDevice *ip = opaque; in tpci200_set_irq() local 110 IPackBus *bus = IPACK_BUS(qdev_get_parent_bus(DEVICE(ip))); in tpci200_set_irq() 113 unsigned ip_n = ip->slot; in tpci200_set_irq() 116 assert(ip->slot >= 0 && ip->slot < N_MODULES); in tpci200_set_irq() 118 /* The requested interrupt must be enabled in the IP CONTROL in tpci200_set_irq() 124 /* Update the interrupt status in the IP STATUS register */ in tpci200_set_irq() 136 DPRINTF("IP %u INT%u#: %u\n", ip_n, intno, level); in tpci200_set_irq() 218 DPRINTF("Read IP %c CONTROL: 0x%x\n", 'A' + ip_n, (unsigned) ret); in tpci200_read_las0() [all …]
|
| /openbmc/phosphor-networkd/src/ |
| H A D | ipaddress.hpp | 8 #include <xyz/openbmc_project/Network/IP/server.hpp> 19 sdbusplus::xyz::openbmc_project::Network::server::IP, 22 using IP = sdbusplus::xyz::openbmc_project::Network::server::IP; typedef 30 * xyz.openbmc_project.Network.IP Dbus interfaces. 39 * @param[in] addr - The ip address and prefix. 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; [all …]
|
| /openbmc/bmcweb/redfish-core/include/utils/ |
| H A D | ip_utils.hpp | 5 #include <boost/asio/ip/address.hpp> 6 #include <boost/asio/ip/address_v4.hpp> 7 #include <boost/asio/ip/address_v6.hpp> 18 * @brief Converts boost::asio::ip::address to string 21 * @param[in] ipAddr IP address to convert 23 * @return IP address string 25 inline std::string toString(const boost::asio::ip::address& ipAddr) in toString() 29 return boost::asio::ip::make_address_v4(boost::asio::ip::v4_mapped, in toString() 37 * @brief Helper function that verifies IP address to check if it is in 41 * @param[in] ip IP that will be verified [all …]
|
| /openbmc/phosphor-networkd/docs/ |
| H A D | Network-Configuration.md | 14 IP address(v4 and v6) objects must be children objects of the physical/virtual 21 3. IP: This describes the IP address-specific parameters. 22 4. IPProtocol: This describes the IP protocol type (IPv4/IPv6). 39 There can be multiple IP address objects under an interface object. These 58 ### Configure IP address 62 xyz.openbmc_project.Network.IP.Create IP ssys 63 "xyz.openbmc_project.Network.IP.Protocol.IPv4" "<ip>" <subnetmask> 67 '{"data":["xyz.openbmc_project.Network.IP.Protocol.IPv4","<ip>",<subnetmask>,"<networkGateway>"] 68 }' https://<hostname/ip>/xyz/openbmc_project/network/eth0/action/IP 81 https://<hostname/ip>/xyz/openbmc_project/network/config/attr/DefaultGateway [all …]
|
| /openbmc/u-boot/net/ |
| H A D | link_local.c | 52 static struct in_addr ip; variable 64 * Pick a random link local IP address on 169.254/16, except that 70 struct in_addr ip; in pick() local 75 ip.s_addr = htonl((LINKLOCAL_ADDR + 0x0100) + tmp); in pick() 76 return ip; in pick() 107 ip = env_get_ip("llipaddr"); in link_local_start() 108 if (ip.s_addr != 0 && in link_local_start() 109 (ntohl(ip.s_addr) & IN_CLASSB_NET) != LINKLOCAL_ADDR) { in link_local_start() 117 if (ip.s_addr == 0) in link_local_start() 118 ip = pick(); in link_local_start() [all …]
|
| H A D | net.c | 22 * We want: - own IP address 23 * - TFTP server IP address 30 * We want: - own IP address 36 * We want: - own IP address 37 * - TFTP server IP address 43 * - own IP address 44 * - TFTP server IP address 51 * We want: - IP, Netmask, ServerIP, Gateway IP 58 * - own IP address 59 * - TFTP server IP address [all …]
|
| H A D | ping.c | 17 /* The ip address to ping */ 23 * Construct an IP and ICMP header. in set_icmp_header() 77 void ping_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len) in ping_receive() argument 79 struct icmp_hdr *icmph = (struct icmp_hdr *)&ip->udp_src; in ping_receive() 86 src_ip = net_read_ip((void *)&ip->ip_src); in ping_receive() 97 ip->ip_sum = 0; in ping_receive() 98 ip->ip_off = 0; in ping_receive() 99 net_copy_ip((void *)&ip->ip_dst, &ip->ip_src); in ping_receive() 100 net_copy_ip((void *)&ip->ip_src, &net_ip); in ping_receive() 101 ip->ip_sum = compute_ip_checksum(ip, IP_HDR_SIZE); in ping_receive()
|
| /openbmc/openbmc/meta-amd/meta-ethanolx/recipes-amd/amd-fpga/files/ |
| H A D | ip-to-fpga.sh | 7 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) 24 echo "Transfer current IP address (${IP_1}.${IP_2}.${IP_3}.${IP_4}) to the FPGA" 30 OLD_IP=${IP}
|
| /openbmc/openbmc-test-automation/lib/ |
| H A D | bmc_network_utils.robot | 55 Get BMC IP Info 56 [Documentation] Get system IP address and prefix length. 59 # Get system IP address and prefix length details using "ip addr" 60 # Sample Output of "ip addr": 68 ... /sbin/ip addr | grep ${ethernet_interface} 70 # Get line having IP address details. 73 # List IP address details. 78 # Get all IP addresses and prefix lengths on system. 90 # Sample output of "ip rout [all...] |
| /openbmc/qemu/net/ |
| H A D | checksum.c | 2 * IP checksumming functions. 63 struct ip_header *ip; in net_checksum_calculate() local 99 /* Now check we have an IP header (with an optional VLAN header) */ in net_checksum_calculate() 104 ip = (struct ip_header *)((uint8_t *)data + mac_hdr_len); in net_checksum_calculate() 106 if (IP_HEADER_VERSION(ip) != IP_HEADER_VERSION_4) { in net_checksum_calculate() 110 /* Calculate IP checksum */ 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() [all …]
|
| /openbmc/openbmc/poky/meta/recipes-connectivity/iproute2/ |
| H A D | iproute2_6.14.0.bb | 1 SUMMARY = "TCP / IP networking and traffic control utilities" 3 TCP / IP networking and traffic control in Linux. Of the utilities ip \ 4 and tc are the most important. ip controls IPv4 and IPv6 \ 30 IPROUTE2_MAKE_SUBDIRS = "lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink ti… 55 mv ${D}${base_sbindir}/ip ${D}${base_sbindir}/ip.iproute2 72 ${PN}-ip \ 84 RDEPENDS:${PN} += "${PN}-ip" 92 FILES:${PN}-ip = "${base_sbindir}/ip.* ${libdir}/iproute2" 105 ALTERNATIVE:${PN}-ip = "ip" 106 ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}" [all …]
|
| /openbmc/openbmc/meta-google/recipes-google/networking/gbmc-nic-config/ |
| H A D | gbmc-nic-neigh.sh.in | 28 local ip="$2" 30 echo "gBMC NIC Neigh $act $ip: ${gbmc_nic_neigh_intfs[*]}" >&2 33 ip_to_bytes pfx_bytes "$ip" 35 local neigh_ips=("$ip") 50 To=$ip/64 54 From=$ip/64 77 # Write the necessary firewall rules to forward IP traffic 81 ip6 saddr != $ip/64 ip6 daddr $ip/64 accept 100 if ! ip_to_bytes ip_bytes "$ip"; then 101 echo "gBMC Bridge Ensure RA Invalid IP: $ip" >&2 [all …]
|
| H A D | gbmc-nic-cn.sh.in | 28 local ip="$2" 30 echo "gBMC NIC CN $act $ip: ${gbmc_nic_cn_intfs[*]}" >&2 32 ip_to_bytes pfx_bytes "$ip" 40 Destination=$ip/65 62 ip -6 route add "$ip/65" dev gbmcbr metric 1024 2>dev/null || true 66 ip -6 neigh "$act" proxy "$cn_ip" dev "$intf" || st=$? 82 if ! ip_to_bytes ip_bytes "$ip"; then 83 echo "gBMC NIC CN invalid IP: $ip" >&2 96 if [[ $action == add && "$gbmc_nic_cn_addr" != "$ip" ]]; then 100 gbmc_nic_cn_addr="$ip" [all …]
|
| /openbmc/u-boot/fs/zfs/ |
| H A D | zfs_fletcher.c | 38 const uint64_t *ip = buf; in fletcher_2_endian() local 39 const uint64_t *ipend = ip + (size / sizeof(uint64_t)); in fletcher_2_endian() 42 for (a0 = b0 = a1 = b1 = 0; ip < ipend; ip += 2) { in fletcher_2_endian() 43 a0 += zfs_to_cpu64(ip[0], endian); in fletcher_2_endian() 44 a1 += zfs_to_cpu64(ip[1], endian); in fletcher_2_endian() 59 const uint32_t *ip = buf; in fletcher_4_endian() local 60 const uint32_t *ipend = ip + (size / sizeof(uint32_t)); in fletcher_4_endian() 63 for (a = b = c = d = 0; ip < ipend; ip++) { in fletcher_4_endian() 64 a += zfs_to_cpu32(ip[0], endian); in fletcher_4_endian()
|
| /openbmc/u-boot/doc/ |
| H A D | README.NetConsole | 11 We use an environment variable 'ncip' to set the IP address and the 14 broadcast address and port 6666 are used. If it is set to an IP 20 For example, if your server IP is 192.168.1.1, you could use: 30 tools/netconsole <ip> [port] 33 specify the target IP address (or host name, assuming DNS is working). The 49 Minimally, the host IP address needs to be specified. This can be 59 netconsole=[src-port]@[src-ip]/[<dev>],[tgt-port]@<tgt-ip>/[tgt-macaddr] 65 src-ip source IP to use 71 tgt-ip IP address for logging agent 87 the respective Ethernet interface has to be brought up using the "IP
|