Searched defs:ipaddr (Results 1 - 25 of 30) sorted by relevance

12

/vbox/src/VBox/Devices/Network/lwip/src/netif/
H A Dloopif.c58 struct ip_addr *ipaddr)
57 loopif_output(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) argument
H A Dethernetif.c63 struct ip_addr *ipaddr);
199 struct ip_addr *ipaddr)
203 return etharp_output(netif, ipaddr, p);
198 ethernetif_output(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) argument
H A Dslipif.c60 slipif_output(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) argument
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/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
H A Dapi_msg.c910 msg->err = raw_bind(msg->conn->pcb.raw, msg->msg.bc.ipaddr);
915 msg->err = udp_bind(msg->conn->pcb.udp, msg->msg.bc.ipaddr, msg->msg.bc.port);
920 msg->err = tcp_bind(msg->conn->pcb.tcp, msg->msg.bc.ipaddr, msg->msg.bc.port);
1000 msg->err = raw_connect(msg->conn->pcb.raw, msg->msg.bc.ipaddr);
1005 msg->err = udp_connect(msg->conn->pcb.udp, msg->msg.bc.ipaddr, msg->msg.bc.port);
1015 msg->err = tcp_connect(msg->conn->pcb.tcp, msg->msg.bc.ipaddr,
1425 ipX_addr_copy(PCB_ISIPV6(msg->conn->pcb.ip), *(msg->msg.ad.ipaddr),
1428 ipX_addr_copy(PCB_ISIPV6(msg->conn->pcb.ip), *(msg->msg.ad.ipaddr),
1572 lwip_netconn_do_dns_found(const char *name, ip_addr_t *ipaddr, void *arg) argument
1579 if (ipaddr
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/core/
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...]
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 Dudp.c415 * @param pcb UDP PCB to be bound with a local address ipaddr and port.
416 * @param ipaddr local IP address to bind with. Use IP_ADDR_ANY to
422 * - ERR_USE. The specified ipaddr and port are already bound to by
428 udp_bind(struct udp_pcb *pcb, struct ip_addr *ipaddr, u16_t port) argument
433 LWIP_DEBUGF(UDP_DEBUG | DBG_TRACE | 3, ("udp_bind(ipaddr = "));
434 ip_addr_debug_print(UDP_DEBUG, ipaddr);
458 ip_addr_isany(ipaddr) ||
459 ip_addr_cmp(&(ipcb->local_ip), ipaddr))) {
468 ip_addr_set(&pcb->local_ip, ipaddr);
512 * @param pcb UDP PCB to be connected with remote address ipaddr an
521 udp_connect(struct udp_pcb *pcb, struct ip_addr *ipaddr, u16_t port) argument
[all...]
H A Dtcp.c240 * IP address is not given (i.e., ipaddr == NULL), the IP address of
246 tcp_bind(struct tcp_pcb *pcb, struct ip_addr *ipaddr, u16_t port) argument
258 ip_addr_isany(ipaddr) ||
259 ip_addr_cmp(&(cpcb->local_ip), ipaddr)) {
268 ip_addr_isany(ipaddr) ||
269 ip_addr_cmp(&(cpcb->local_ip), ipaddr)) {
275 if (!ip_addr_isany(ipaddr)) {
276 pcb->local_ip = *ipaddr;
416 tcp_connect(struct tcp_pcb *pcb, struct ip_addr *ipaddr, u16_t port, argument
424 if (ipaddr !
[all...]
/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 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 Dnetifapi.h55 ip_addr_t *ipaddr; member in struct:netifapi_msg_msg::__anon14914::__anon14915
77 ip_addr_t *ipaddr,
85 ip_addr_t *ipaddr,
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Dapi_msg.h72 struct ip_addr *ipaddr; member in struct:api_msg_msg::__anon14881::__anon14882
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ipv4/
H A Dautoip.c111 static void autoip_create_addr(struct netif *netif, ip_addr_t *ipaddr);
193 * @param ipaddr ip address to initialize
196 autoip_create_addr(struct netif *netif, ip_addr_t *ipaddr) argument
215 ip4_addr_set_u32(ipaddr, htonl(addr));
219 (u16_t)(netif->autoip->tried_llipaddr), ip4_addr1_16(ipaddr), ip4_addr2_16(ipaddr),
220 ip4_addr3_16(ipaddr), ip4_addr4_16(ipaddr)));
H A Dip4_addr.c57 ip_addr_t ipaddr; local
58 ip4_addr_set_u32(&ipaddr, addr);
73 } else if (ip_addr_netcmp(&ipaddr, &(netif->ip_addr), &(netif->netmask))
/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 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...]
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...]
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/
H A Dslipif.c165 * @param ipaddr the ip address to send the packet to (not used for slipif)
169 slipif_output_v4(struct netif *netif, struct pbuf *p, ip_addr_t *ipaddr) argument
171 LWIP_UNUSED_ARG(ipaddr);
183 * @param ipaddr the ip address to send the packet to (not used for slipif)
187 slipif_output_v6(struct netif *netif, struct pbuf *p, ip6_addr_t *ipaddr) argument
189 LWIP_UNUSED_ARG(ipaddr);
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/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...]
/vbox/src/VBox/RDP/client-1.8.3/
H A Dtcp.c559 static char ipaddr[32]; local
565 sprintf(ipaddr, "%d.%d.%d.%d", ip[0], ip[1], ip[2], ip[3]);
568 strcpy(ipaddr, "127.0.0.1");
569 return ipaddr;
/vbox/src/VBox/Devices/Network/
H A DDevINIP.cpp166 static DECLCALLBACK(err_t) devINIPOutput(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr);
225 * @param ipaddr Destination IP address.
227 static DECLCALLBACK(err_t) devINIPOutput(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) argument
230 LogFlow(("%s: netif=%p p=%p ipaddr=%#04x\n", __FUNCTION__, netif, p,
231 ipaddr->addr));
233 lrc = lwip_etharp_output(netif, ipaddr, p);
235 lrc = lwip_etharp_output(netif, p, ipaddr);
508 struct ip_addr ipaddr, netmask, gw; local
519 memcpy(&ipaddr, &ip, sizeof(ipaddr));
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/netif/ppp/
H A Dppp.c540 static err_t pppifOutput(struct netif *netif, struct pbuf *pb, struct ip_addr *ipaddr) argument
549 (void)ipaddr;

Completed in 83 milliseconds

12