Searched refs:in_addr (Results 1 - 25 of 38) sorted by relevance

12

/u-boot/net/
H A Darp.h15 extern struct in_addr net_arp_wait_packet_ip;
25 void arp_raw_request(struct in_addr source_ip, const uchar *targetEther,
26 struct in_addr target_ip);
H A Dbootp.h47 struct in_addr bp_ciaddr; /* Client IP address */
48 struct in_addr bp_yiaddr; /* Your (client) IP address */
49 struct in_addr bp_siaddr; /* Server IP address */
50 struct in_addr bp_giaddr; /* Gateway IP address */
H A Dwol.c56 struct in_addr *ip = (struct in_addr *)(wol->wol_passwd);
64 static void wol_udp_handler(uchar *pkt, unsigned int dest, struct in_addr sip,
H A Dping.c20 struct in_addr net_ping_ip;
22 static void set_icmp_header(uchar *pkt, struct in_addr dest)
82 struct in_addr src_ip;
H A Darp.c20 struct in_addr net_arp_wait_packet_ip;
21 static struct in_addr net_arp_wait_reply_ip;
41 void arp_raw_request(struct in_addr source_ip, const uchar *target_ethaddr,
42 struct in_addr target_ip)
116 struct in_addr reply_ip_addr;
H A Dbootp.c67 static struct in_addr dhcp_server_ip;
71 static void dhcp_handler(uchar *pkt, unsigned dest, struct in_addr sip,
144 struct in_addr tmp_ip;
215 net_copy_ip(&net_netmask, (struct in_addr *)(ext + 2));
222 net_copy_ip(&net_gateway, (struct in_addr *)(ext + 2));
231 (struct in_addr *)(ext + 2));
235 (struct in_addr *)(ext + 2 + 4));
296 net_copy_ip(&net_ntp_server, (struct in_addr *)(ext + 2));
357 static void bootp_handler(uchar *pkt, unsigned dest, struct in_addr sip,
457 static int dhcp_extended(u8 *e, int message_type, struct in_addr server_i
[all...]
H A Dsntp.c22 struct in_addr net_ntp_server;
57 static void sntp_handler(uchar *pkt, unsigned dest, struct in_addr sip,
H A Dlink_local.c55 static struct in_addr ip;
70 static struct in_addr pick(void)
73 struct in_addr ip;
140 struct in_addr zero_ip = {.s_addr = 0};
217 struct in_addr null_ip = {.s_addr = 0};
H A Dnet.c132 struct in_addr net_netmask;
134 struct in_addr net_gateway;
136 struct in_addr net_dns_server;
139 struct in_addr net_dns_server2;
151 struct in_addr net_ip;
153 struct in_addr net_server_ip;
833 struct in_addr sip, unsigned sport,
896 int net_send_udp_packet(uchar *ether, struct in_addr dest, int dport, int sport,
913 int net_send_ip_packet(uchar *ether, struct in_addr dest, int dport, int sport,
1165 struct in_addr src_i
[all...]
H A Ddns.c115 static void dns_handler(uchar *pkt, unsigned dest, struct in_addr sip,
123 struct in_addr ip_addr;
H A Dwget.c31 static struct in_addr web_server_ip;
356 struct in_addr sip, u16 sport,
480 struct in_addr our_net;
481 struct in_addr server_net;
/u-boot/include/
H A Dhw_sha.h14 * @param in_addr A pointer to the input buffer
21 void hw_sha512(const uchar *in_addr, uint buflen, uchar *out_addr,
27 * @param in_addr A pointer to the input buffer
34 void hw_sha384(const uchar *in_addr, uint buflen, uchar *out_addr,
40 * @param in_addr A pointer to the input buffer
47 void hw_sha256(const uchar *in_addr, uint buflen, uchar *out_addr,
53 * @param in_addr A pointer to the input buffer
60 void hw_sha1(const uchar *in_addr, uint buflen, uchar *out_addr,
H A Dnet.h55 struct in_addr { struct
94 struct in_addr sip, unsigned sport,
108 struct in_addr sip, unsigned sport, uchar *pkt, unsigned len);
258 int eth_mcast_join(struct in_addr mcast_addr, int join);
335 struct in_addr ip_src; /* Source IP address */
336 struct in_addr ip_dst; /* Destination IP address */
361 struct in_addr ip_src; /* Source IP address */
362 struct in_addr ip_dst; /* Destination IP address */
476 * All variables of type struct in_addr are stored in NETWORK byte order
482 extern struct in_addr net_gatewa
[all...]
H A Dfdt_support.h295 * @param in_addr Pointer to the address to translate
299 const __be32 *in_addr);
307 * @param in_addr Pointer to the DMA address to translate
311 const __be32 *in_addr);
/u-boot/include/dm/
H A Dof_addr.h24 * @in_addr: pointer to input address
27 u64 of_translate_address(const struct device_node *np, const __be32 *in_addr);
42 * @in_addr: pointer to input DMA address
45 u64 of_translate_dma_address(const struct device_node *np, const __be32 *in_addr);
H A Dread.h744 * @in_addr: pointer to the address to translate
747 u64 dev_translate_address(const struct udevice *dev, const fdt32_t *in_addr);
757 * @in_addr: pointer to the DMA address to translate
761 const fdt32_t *in_addr);
1222 const fdt32_t *in_addr)
1224 return ofnode_translate_address(dev_ofnode(dev), in_addr);
1228 const fdt32_t *in_addr)
1230 return ofnode_translate_dma_address(dev_ofnode(dev), in_addr);
1221 dev_translate_address(const struct udevice *dev, const fdt32_t *in_addr) argument
1227 dev_translate_dma_address(const struct udevice *dev, const fdt32_t *in_addr) argument
/u-boot/include/net/
H A Dtcp.h41 struct in_addr ip_src;
42 struct in_addr ip_dst;
231 struct in_addr p_src;
232 struct in_addr p_dst;
297 struct in_addr sip, u16 sport,
304 u16 tcp_set_pseudo_header(uchar *pkt, struct in_addr src, struct in_addr dest,
/u-boot/lib/
H A Dnet_utils.c16 struct in_addr string_to_ip(const char *s)
18 struct in_addr addr;
57 struct in_addr zero_ip = {.s_addr = 0};
70 struct in_addr v4;
76 sizeof(struct in_addr)) != 0) {
132 struct in_addr v4 = string_to_ip(s);
135 sizeof(struct in_addr)) != 0) {
/u-boot/arch/sandbox/include/asm/
H A Deth.h88 struct in_addr fake_host_ipaddr;
/u-boot/drivers/net/
H A Dnetconsole.c25 static struct in_addr nc_ip; /* server ip */
37 struct in_addr sip, unsigned src,
43 static void nc_handler(uchar *pkt, unsigned dest, struct in_addr sip,
55 static int is_broadcast(struct in_addr ip)
57 static struct in_addr netmask;
58 static struct in_addr our_ip;
136 int nc_input_packet(uchar *pkt, struct in_addr src_ip, unsigned dest_port,
179 struct in_addr ip;
/u-boot/drivers/core/
H A Dof_addr.c242 const __be32 *in_addr, const char *rprop)
267 memcpy(addr, in_addr, na * 4);
317 u64 of_translate_address(const struct device_node *dev, const __be32 *in_addr) argument
319 return __of_translate_address(dev, in_addr, "ranges");
322 u64 of_translate_dma_address(const struct device_node *dev, const __be32 *in_addr) argument
324 return __of_translate_address(dev, in_addr, "dma-ranges");
241 __of_translate_address(const struct device_node *dev, const __be32 *in_addr, const char *rprop) argument
H A Dread.c405 u64 dev_translate_address(const struct udevice *dev, const fdt32_t *in_addr) argument
407 return ofnode_translate_address(dev_ofnode(dev), in_addr);
410 u64 dev_translate_dma_address(const struct udevice *dev, const fdt32_t *in_addr) argument
412 return ofnode_translate_dma_address(dev_ofnode(dev), in_addr);
/u-boot/arch/mips/mach-octeon/include/mach/
H A Dcvmx-helper-fdt.h223 * @param[in] in_addr Address to translate
224 * NOTE: in_addr must be in the native ENDIAN
230 static inline u64 cvmx_fdt_translate_address(const void *fdt_addr, int node, const u32 *in_addr) argument
232 return fdt_translate_address((void *)fdt_addr, node, in_addr);
/u-boot/drivers/remoteproc/
H A Dstm32_copro.c70 fdt32_t in_addr = cpu_to_be32(da), end_addr; local
73 paddr = dev_translate_dma_address(dev, &in_addr);
/u-boot/common/
H A Dlog_syslog.c38 struct in_addr bcast_ip;

Completed in 128 milliseconds

12