Searched refs:ipaddr (Results 1 - 25 of 50) sorted by relevance

12

/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dip_addr.h55 static ip6_addr_t* ip_2_ip6(ip_addr_t *ipaddr) argument
56 { return (ip6_addr_t*)ipaddr;}
59 static ipX_addr_t* ip_2_ipX(ip_addr_t *ipaddr) argument
60 { return (ipX_addr_t*)ipaddr; }
64 #define ip_2_ip6(ipaddr) ((ip6_addr_t*)(ipaddr))
66 #define ip_2_ipX(ipaddr) ((ipX_addr_t*)ipaddr)
70 #define ipX_2_ip(ipaddr) (&((ipaddr)
[all...]
H A Draw.h106 err_t raw_bind (struct raw_pcb *pcb, ip_addr_t *ipaddr);
107 err_t raw_connect (struct raw_pcb *pcb, ip_addr_t *ipaddr);
110 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr);
H A Dnetifapi.h55 ip_addr_t *ipaddr; member in struct:netifapi_msg_msg::__anon14914::__anon14915
77 ip_addr_t *ipaddr,
85 ip_addr_t *ipaddr,
H A Ddns.h100 * @param ipaddr pointer to an ip_addr_t containing the IP address of the hostname,
104 typedef void (*dns_found_callback)(const char *name, ip_addr_t *ipaddr, void *callback_arg);
H A Dapi_msg.h78 ip_addr_t *ipaddr; member in struct:api_msg_msg::__anon14902::__anon14904
83 ipX_addr_t *ipaddr; member in struct:api_msg_msg::__anon14902::__anon14905
H A Dnetif.h120 * @param ipaddr The IP address to which the packet shall be sent
123 ip_addr_t *ipaddr);
131 * @param ipaddr The IPv6 address to which the packet shall be sent
134 ip6_addr_t *ipaddr);
310 struct netif *netif_add(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask,
314 netif_set_addr(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask,
326 void netif_set_ipaddr(struct netif *netif, ip_addr_t *ipaddr);
/vbox/src/VBox/Devices/Network/lwip-new/src/include/ipv4/lwip/
H A Dip4_addr.h139 #define IP4_ADDR(ipaddr, a,b,c,d) \
140 (ipaddr)->addr = ((u32_t)((a) & 0xff) << 24) | \
147 #define IP4_ADDR(ipaddr, a,b,c,d) \
148 (ipaddr)->addr = ((u32_t)((d) & 0xff) << 24) | \
168 #define ip_addr_set_zero(ipaddr) ((ipaddr)->addr = 0)
170 #define ip_addr_set_any(ipaddr) ((ipaddr)->addr = IPADDR_ANY)
172 #define ip_addr_set_loopback(ipaddr) ((ipaddr)
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/include/ipv6/lwip/
H A Dip_addr.h43 #define IP6_ADDR(ipaddr, a,b,c,d,e,f,g,h) do { (ipaddr)->addr[0] = htonl((u32_t)((a & 0xffff) << 16) | (b & 0xffff)); \
44 (ipaddr)->addr[1] = htonl(((c & 0xffff) << 16) | (d & 0xffff)); \
45 (ipaddr)->addr[2] = htonl(((e & 0xffff) << 16) | (f & 0xffff)); \
46 (ipaddr)->addr[3] = htonl(((g & 0xffff) << 16) | (h & 0xffff)); } while(0)
/vbox/src/VBox/Devices/Network/lwip/src/include/ipv4/lwip/
H A Dip_addr.h117 #define IP4_ADDR(ipaddr, a,b,c,d) \
118 (ipaddr)->addr = htonl(((u32_t)((a) & 0xff) << 24) | \
146 #define ip_addr_debug_print(debug, ipaddr) \
148 ipaddr ? (u16_t)(ntohl((ipaddr)->addr) >> 24) & 0xff : 0, \
149 ipaddr ? (u16_t)(ntohl((ipaddr)->addr) >> 16) & 0xff : 0, \
150 ipaddr ? (u16_t)(ntohl((ipaddr)->addr) >> 8) & 0xff : 0, \
151 ipaddr
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Draw.h58 err_t raw_bind (struct raw_pcb *pcb, struct ip_addr *ipaddr);
59 err_t raw_connect (struct raw_pcb *pcb, struct ip_addr *ipaddr);
66 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, struct ip_addr *ipaddr);
H A Dnetif.h88 struct ip_addr *ipaddr);
139 struct netif *netif_add(struct netif *netif, struct ip_addr *ipaddr, struct ip_addr *netmask,
146 netif_set_addr(struct netif *netif,struct ip_addr *ipaddr, struct ip_addr *netmask,
158 void netif_set_ipaddr(struct netif *netif, struct ip_addr *ipaddr);
H A Dapi_msg.h72 struct ip_addr *ipaddr; member in struct:api_msg_msg::__anon14881::__anon14882
H A Dudp.h78 err_t udp_bind (struct udp_pcb *pcb, struct ip_addr *ipaddr,
80 err_t udp_connect (struct udp_pcb *pcb, struct ip_addr *ipaddr,
/vbox/src/VBox/Devices/Network/lwip/src/netif/
H A Detharp.c98 struct ip_addr ipaddr; member in struct:etharp_entry
113 static s8_t find_entry(struct ip_addr *ipaddr, u8_t flags);
114 static err_t update_arp_entry(struct netif *netif, struct ip_addr *ipaddr, struct eth_addr *ethaddr, u8_t flags);
169 snmp_delete_arpidx_tree(arp_table[i].netif, &arp_table[i].ipaddr);
193 * If ipaddr is NULL, return a initialized new entry in state ETHARP_EMPTY.
199 * @param ipaddr IP address to find in ARP cache, or to add if not found.
207 static s8_t find_entry(struct ip_addr *ipaddr, u8_t flags) argument
244 if (ipaddr && ip_addr_cmp(ipaddr, &arp_table[i].ipaddr)) {
367 update_arp_entry(struct netif *netif, struct ip_addr *ipaddr, struct eth_addr *ethaddr, u8_t flags) argument
446 etharp_find_addr(struct netif *netif, struct ip_addr *ipaddr, struct eth_addr **eth_ret, struct ip_addr **ip_ret) argument
649 etharp_output(struct netif *netif, struct ip_addr *ipaddr, struct pbuf *q) argument
747 etharp_query(struct netif *netif, struct ip_addr *ipaddr, struct pbuf *q) argument
843 etharp_request(struct netif *netif, struct ip_addr *ipaddr) argument
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/
H A Detharp.c114 ip_addr_t ipaddr; member in struct:etharp_entry
184 snmp_delete_arpidx_tree(arp_table[i].netif, &arp_table[i].ipaddr);
198 ip_addr_set_zero(&arp_table[i].ipaddr);
256 * If ipaddr is NULL, return a initialized new entry in state ETHARP_EMPTY.
262 * @param ipaddr IP address to find in ARP cache, or to add if not found.
270 etharp_find_entry(ip_addr_t *ipaddr, u8_t flags) argument
306 if (ipaddr && ip_addr_cmp(ipaddr, &arp_table[i].ipaddr)) {
400 if (ipaddr !
452 etharp_update_arp_entry(struct netif *netif, ip_addr_t *ipaddr, struct eth_addr *ethaddr, u8_t flags) argument
530 etharp_add_static_entry(ip_addr_t *ipaddr, struct eth_addr *ethaddr) argument
555 etharp_remove_static_entry(ip_addr_t *ipaddr) argument
607 etharp_find_addr(struct netif *netif, ip_addr_t *ipaddr, struct eth_addr **eth_ret, ip_addr_t **ip_ret) argument
904 etharp_output(struct netif *netif, struct pbuf *q, ip_addr_t *ipaddr) argument
1041 etharp_query(struct netif *netif, ip_addr_t *ipaddr, struct pbuf *q) argument
1284 etharp_request(struct netif *netif, ip_addr_t *ipaddr) argument
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/include/ipv6/lwip/
H A Dip6_addr.h263 #define ip6_addr_debug_print(debug, ipaddr) \
265 ipaddr != NULL ? IP6_ADDR_BLOCK1(ipaddr) : 0, \
266 ipaddr != NULL ? IP6_ADDR_BLOCK2(ipaddr) : 0, \
267 ipaddr != NULL ? IP6_ADDR_BLOCK3(ipaddr) : 0, \
268 ipaddr != NULL ? IP6_ADDR_BLOCK4(ipaddr) : 0, \
269 ipaddr !
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Draw.c122 * @param pcb RAW PCB to be bound with a local address ipaddr.
123 * @param ipaddr local IP address to bind with. Use IP_ADDR_ANY to
134 raw_bind(struct raw_pcb *pcb, struct ip_addr *ipaddr) argument
136 ip_addr_set(&pcb->local_ip, ipaddr);
146 * @param pcb RAW PCB to be connected with remote address ipaddr and port.
147 * @param ipaddr remote IP address to connect with.
154 raw_connect(struct raw_pcb *pcb, struct ip_addr *ipaddr) argument
156 ip_addr_set(&pcb->remote_ip, ipaddr);
194 * @param ipaddr the destination address of the IP packet
198 raw_sendto(struct raw_pcb *pcb, struct pbuf *p, struct ip_addr *ipaddr) argument
[all...]
H A Dnetif.c54 * @param ipaddr IP address for the new netif
65 netif_add(struct netif *netif, struct ip_addr *ipaddr, struct ip_addr *netmask, argument
87 netif_set_addr(netif, ipaddr, netmask, gw);
101 ip_addr_debug_print(NETIF_DEBUG, ipaddr);
111 netif_set_addr(struct netif *netif,struct ip_addr *ipaddr, struct ip_addr *netmask, argument
114 netif_set_ipaddr(netif, ipaddr);
175 netif_set_ipaddr(struct netif *netif, struct ip_addr *ipaddr) argument
184 if ((ip_addr_cmp(ipaddr, &(netif->ip_addr))) == 0)
204 /* The PCB is listening to the old ipaddr and
206 ip_addr_set(&(lpcb->local_ip), ipaddr);
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/api/
H A Dnetifapi.c48 msg->msg.add.ipaddr,
68 msg->msg.add.ipaddr,
99 ip_addr_t *ipaddr,
109 msg.msg.msg.add.ipaddr = ipaddr;
127 ip_addr_t *ipaddr,
134 msg.msg.msg.add.ipaddr = ipaddr;
98 netifapi_netif_add(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, ip_addr_t *gw, void *state, netif_init_fn init, netif_input_fn input) argument
126 netifapi_netif_set_addr(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, ip_addr_t *gw) argument
/vbox/src/VBox/Devices/Network/lwip/src/include/netif/
H A Detharp.h119 s8_t etharp_find_addr(struct netif *netif, struct ip_addr *ipaddr,
124 err_t etharp_output(struct netif *netif, struct ip_addr *ipaddr,
126 err_t etharp_query(struct netif *netif, struct ip_addr *ipaddr, struct pbuf *q);
127 err_t etharp_request(struct netif *netif, struct ip_addr *ipaddr);
/vbox/src/VBox/Devices/Network/lwip-new/src/include/netif/
H A Detharp.h189 s8_t etharp_find_addr(struct netif *netif, ip_addr_t *ipaddr,
191 err_t etharp_output(struct netif *netif, struct pbuf *q, ip_addr_t *ipaddr);
192 err_t etharp_query(struct netif *netif, ip_addr_t *ipaddr, struct pbuf *q);
193 err_t etharp_request(struct netif *netif, ip_addr_t *ipaddr);
202 err_t etharp_add_static_entry(ip_addr_t *ipaddr, struct eth_addr *ethaddr);
203 err_t etharp_remove_static_entry(ip_addr_t *ipaddr);
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Draw.c157 * @param pcb RAW PCB to be bound with a local address ipaddr.
158 * @param ipaddr local IP address to bind with. Use IP_ADDR_ANY to
169 raw_bind(struct raw_pcb *pcb, ip_addr_t *ipaddr) argument
171 ipX_addr_set_ipaddr(PCB_ISIPV6(pcb), &pcb->local_ip, ipaddr); local
181 * @param pcb RAW PCB to be connected with remote address ipaddr and port.
182 * @param ipaddr remote IP address to connect with.
189 raw_connect(struct raw_pcb *pcb, ip_addr_t *ipaddr) argument
191 ipX_addr_set_ipaddr(PCB_ISIPV6(pcb), &pcb->remote_ip, ipaddr); local
226 * @param ipaddr the destination address of the IP packet
230 raw_sendto(struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr) argument
[all...]
H A Ddns.c88 #define DNS_SERVER_ADDRESS(ipaddr) (ip4_addr_set_u32(ipaddr, ipaddr_addr("208.67.222.222"))) /* resolver1.opendns.com */
177 ip_addr_t ipaddr; member in struct:dns_table_entry
472 ip_addr_debug_print(DNS_DEBUG, &(dns_table[i].ipaddr));
474 return ip4_addr_get_u32(&dns_table[i].ipaddr);
814 SMEMCPY(&(pEntry->ipaddr), (pHostname+SIZEOF_DNS_ANSWER), sizeof(ip_addr_t));
816 ip_addr_debug_print(DNS_DEBUG, (&(pEntry->ipaddr)));
820 (*pEntry->found)(pEntry->name, &pEntry->ipaddr, pEntry->arg);
952 u32_t ipaddr; local
974 ipaddr
[all...]
H A Dnetif.c88 static err_t netif_null_output_ip6(struct netif *netif, struct pbuf *p, ip6_addr_t *ipaddr);
163 * @param ipaddr IP address for the new netif
174 netif_add(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, argument
240 netif_set_addr(netif, ipaddr, netmask, gw);
261 ip_addr_debug_print(NETIF_DEBUG, ipaddr);
275 * @param ipaddr the new IP address
280 netif_set_addr(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, argument
283 netif_set_ipaddr(netif, ipaddr);
380 * @param ipaddr the new IP address
386 netif_set_ipaddr(struct netif *netif, ip_addr_t *ipaddr) argument
935 netif_null_output_ip6(struct netif *netif, struct pbuf *p, ip6_addr_t *ipaddr) argument
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/block/
H A Dibft.c90 * @v ipaddr IP address field
93 static void ibft_set_ipaddr ( struct ibft_ipaddr *ipaddr, struct in_addr in ) { argument
94 memset ( ipaddr, 0, sizeof ( *ipaddr ) );
96 ipaddr->in = in;
97 ipaddr->ones = 0xffff;
104 * @v ipaddr IP address field
108 static void ibft_set_ipaddr_setting ( struct ibft_ipaddr *ipaddr, argument
116 ibft_set_ipaddr ( &ipaddr[i], in[i] );
125 * @ret ipaddr I
[all...]

Completed in 88 milliseconds

12