| /openbmc/u-boot/include/ |
| H A D | net.h | 47 struct in_addr { struct 60 struct in_addr sip, unsigned sport, argument 74 struct in_addr sip, unsigned sport, uchar *pkt, unsigned len); 285 int eth_mcast_join(struct in_addr mcast_addr, int join); 361 struct in_addr ip_src; /* Source IP address */ 362 struct in_addr ip_dst; /* Destination IP address */ 385 struct in_addr ip_src; /* Source IP address */ 386 struct in_addr ip_dst; /* Destination IP address */ 500 extern struct in_addr net_gateway; /* Our gateway IP address */ 501 extern struct in_addr net_netmask; /* Our subnet mask (0 = unknown) */ [all …]
|
| H A D | hw_sha.h | 21 void hw_sha512(const uchar *in_addr, uint buflen, uchar *out_addr, 34 void hw_sha384(const uchar *in_addr, uint buflen, uchar *out_addr, 47 void hw_sha256(const uchar *in_addr, uint buflen, uchar *out_addr, 60 void hw_sha1(const uchar *in_addr, uint buflen, uchar *out_addr,
|
| /openbmc/u-boot/net/ |
| H A D | bootp.h | 44 struct in_addr bp_ciaddr; /* Client IP address */ 45 struct in_addr bp_yiaddr; /* Your (client) IP address */ 46 struct in_addr bp_siaddr; /* Server IP address */ 47 struct in_addr bp_giaddr; /* Gateway IP address */
|
| H A D | arp.h | 17 extern struct in_addr net_arp_wait_packet_ip; 27 void arp_raw_request(struct in_addr source_ip, const uchar *targetEther, 28 struct in_addr target_ip);
|
| H A D | bootp.c | 68 static struct in_addr dhcp_server_ip; 72 static void dhcp_handler(uchar *pkt, unsigned dest, struct in_addr sip, 149 struct in_addr tmp_ip; in store_net_params() 208 net_copy_ip(&net_netmask, (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 215 net_copy_ip(&net_gateway, (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 224 (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 228 (struct in_addr *)(ext + 2 + 4)); in bootp_process_vendor_field() 289 net_copy_ip(&net_ntp_server, (struct in_addr *)(ext + 2)); in bootp_process_vendor_field() 350 static void bootp_handler(uchar *pkt, unsigned dest, struct in_addr sip, in bootp_handler() 450 static int dhcp_extended(u8 *e, int message_type, struct in_addr server_ip, in dhcp_extended() [all …]
|
| H A D | wol.c | 56 struct in_addr *ip = (struct in_addr *)(wol->wol_passwd); in wol_receive() 64 static void wol_udp_handler(uchar *pkt, unsigned int dest, struct in_addr sip, in wol_udp_handler()
|
| H A D | arp.c | 30 struct in_addr net_arp_wait_packet_ip; 31 static struct in_addr net_arp_wait_reply_ip; 51 void arp_raw_request(struct in_addr source_ip, const uchar *target_ethaddr, in arp_raw_request() 52 struct in_addr target_ip) in arp_raw_request() 126 struct in_addr reply_ip_addr; in arp_receive()
|
| H A D | link_local.c | 52 static struct in_addr ip; 67 static struct in_addr pick(void) in pick() 70 struct in_addr ip; in pick() 137 struct in_addr zero_ip = {.s_addr = 0}; in link_local_timeout() 214 struct in_addr null_ip = {.s_addr = 0}; in link_local_receive_arp()
|
| H A D | ping.c | 18 struct in_addr net_ping_ip; 20 static void set_icmp_header(uchar *pkt, struct in_addr dest) in set_icmp_header() 80 struct in_addr src_ip; in ping_receive()
|
| H A D | net.c | 125 struct in_addr net_netmask; 127 struct in_addr net_gateway; 129 struct in_addr net_dns_server; 132 struct in_addr net_dns_server2; 142 struct in_addr net_ip; 144 struct in_addr net_server_ip; 183 struct in_addr net_ntp_server; 761 struct in_addr sip, unsigned sport, in dummy_handler() 824 int net_send_udp_packet(uchar *ether, struct in_addr dest, int dport, int sport, in net_send_udp_packet() 831 int net_send_ip_packet(uchar *ether, struct in_addr dest, int dport, int sport, in net_send_ip_packet() [all …]
|
| H A D | tftp.c | 71 static struct in_addr tftp_remote_ip; 404 struct in_addr sip, unsigned src, uchar *pkt, in icmp_handler() 414 static void tftp_handler(uchar *pkt, unsigned dest, struct in_addr sip, in tftp_handler() 685 struct in_addr our_net; in tftp_start() 686 struct in_addr remote_net; in tftp_start()
|
| H A D | dns.c | 103 static void dns_handler(uchar *pkt, unsigned dest, struct in_addr sip, in dns_handler() 111 struct in_addr ip_addr; in dns_handler()
|
| /openbmc/u-boot/drivers/net/ |
| H A D | netconsole.c | 23 static struct in_addr nc_ip; /* server ip */ 35 struct in_addr sip, unsigned src, in nc_wait_arp_handler() 41 static void nc_handler(uchar *pkt, unsigned dest, struct in_addr sip, in nc_handler() 53 static int is_broadcast(struct in_addr ip) in is_broadcast() 55 static struct in_addr netmask; in is_broadcast() 56 static struct in_addr our_ip; in is_broadcast() 134 int nc_input_packet(uchar *pkt, struct in_addr src_ip, unsigned dest_port, in nc_input_packet() 181 struct in_addr ip; in nc_send_packet()
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/ippool/ippool/ |
| H A D | 0001-pppd-ippool.c-Fix-type-casting-issues-between-in_add.patch | 4 Subject: [PATCH 1/2] pppd/ippool.c: Fix type casting issues between in_addr 38 + struct in_addr temp_addr = {*addr}; 49 + struct in_addr temp_addr = {free_addr.s_addr}; 59 + struct in_addr temp_addr = {free_addr.s_addr};
|
| /openbmc/u-boot/lib/ |
| H A D | net_utils.c | 14 struct in_addr string_to_ip(const char *s) in string_to_ip() 16 struct in_addr addr; in string_to_ip()
|
| /openbmc/qemu/net/ |
| H A D | colo.h | 62 struct in_addr src; 63 struct in_addr dst;
|
| H A D | slirp.c | 84 struct in_addr server; 110 struct in_addr vserver_addr, Error **errp); 440 struct in_addr net = { .s_addr = htonl(0x0a000200) }; /* 10.0.2.0 */ in net_slirp_init() 441 struct in_addr mask = { .s_addr = htonl(0xffffff00) }; /* 255.255.255.0 */ in net_slirp_init() 442 struct in_addr host = { .s_addr = htonl(0x0a000202) }; /* 10.0.2.2 */ in net_slirp_init() 443 struct in_addr dhcp = { .s_addr = htonl(0x0a00020f) }; /* 10.0.2.15 */ in net_slirp_init() 444 struct in_addr dns = { .s_addr = htonl(0x0a000203) }; /* 10.0.2.3 */ in net_slirp_init() 449 struct in_addr smbsrv = { .s_addr = 0 }; in net_slirp_init() 938 struct in_addr vserver_addr, Error **errp) in slirp_smb() 1052 struct in_addr server = { .s_addr = 0 }; in slirp_guestfwd()
|
| H A D | util.h | 50 struct in_addr ip_src, ip_dst; /* source and dest address */
|
| /openbmc/inarp/ |
| H A D | inarp.c | 50 struct in_addr src_ip; 52 struct in_addr dest_ip; 104 const struct in_addr *src_ip, in send_arp_packet() 106 const struct in_addr *dest_ip) in send_arp_packet() 176 const char *ifname, struct in_addr *addr) in get_local_ipaddr() 373 struct in_addr local_ip; in arp_recv()
|
| /openbmc/u-boot/include/dm/ |
| H A D | of_addr.h | 27 u64 of_translate_address(const struct device_node *no, const __be32 *in_addr);
|
| H A D | read.h | 512 u64 dev_translate_address(struct udevice *dev, const fdt32_t *in_addr); 749 static inline u64 dev_translate_address(struct udevice *dev, const fdt32_t *in_addr) in dev_translate_address() argument 751 return ofnode_translate_address(dev_ofnode(dev), in_addr); in dev_translate_address()
|
| /openbmc/u-boot/drivers/core/ |
| H A D | of_addr.c | 241 const __be32 *in_addr, const char *rprop) in __of_translate_address() argument 266 memcpy(addr, in_addr, na * 4); in __of_translate_address() 316 u64 of_translate_address(const struct device_node *dev, const __be32 *in_addr) in of_translate_address() argument 318 return __of_translate_address(dev, in_addr, "ranges"); in of_translate_address()
|
| /openbmc/google-misc/subprojects/ncsid/src/ |
| H A D | normalize_ip.c | 36 struct in_addr in; in main()
|
| /openbmc/google-misc/subprojects/nemora-postd/src/ |
| H A D | nemora.hpp | 34 Nemora(const std::string& iface_name, const in_addr ipv4,
|
| /openbmc/u-boot/arch/sandbox/include/asm/ |
| H A D | eth.h | 86 struct in_addr fake_host_ipaddr;
|