Home
last modified time | relevance | path

Searched refs:ip_addr_t (Results 1 – 25 of 51) sorted by relevance

123

/external/syslinux/core/lwip/src/include/lwip/
Dnetif.h119 ip_addr_t *ipaddr);
131 ip_addr_t *group, u8_t action);
141 ip_addr_t ip_addr;
142 ip_addr_t netmask;
143 ip_addr_t gw;
255 struct netif *netif_add(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask,
256 ip_addr_t *gw, void *state, netif_init_fn init, netif_input_fn input);
259 netif_set_addr(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask,
260 ip_addr_t *gw);
271 void netif_set_ipaddr(struct netif *netif, ip_addr_t *ipaddr);
[all …]
Dnetifapi.h55 ip_addr_t *ipaddr;
56 ip_addr_t *netmask;
57 ip_addr_t *gw;
77 ip_addr_t *ipaddr,
78 ip_addr_t *netmask,
79 ip_addr_t *gw,
85 ip_addr_t *ipaddr,
86 ip_addr_t *netmask,
87 ip_addr_t *gw );
Ddns.h86 ip_addr_t addr;
104 typedef void (*dns_found_callback)(const char *name, ip_addr_t *ipaddr, void *callback_arg);
108 void dns_setserver(u8_t numdns, ip_addr_t *dnsserver);
109 ip_addr_t dns_getserver(u8_t numdns);
110 err_t dns_gethostbyname(const char *hostname, ip_addr_t *addr,
114 int dns_local_removehost(const char *hostname, const ip_addr_t *addr);
115 err_t dns_local_addhost(const char *hostname, const ip_addr_t *addr);
Dudp.h88 ip_addr_t *addr, u16_t port);
105 ip_addr_t multicast_ip;
125 err_t udp_bind (struct udp_pcb *pcb, ip_addr_t *ipaddr,
127 err_t udp_connect (struct udp_pcb *pcb, ip_addr_t *ipaddr,
133 ip_addr_t *dst_ip, u16_t dst_port,
136 ip_addr_t *dst_ip, u16_t dst_port);
141 ip_addr_t *dst_ip, u16_t dst_port,
145 ip_addr_t *dst_ip, u16_t dst_port,
Dapi_msg.h78 ip_addr_t *ipaddr;
83 ip_addr_t *ipaddr;
104 ip_addr_t *multiaddr;
105 ip_addr_t *netif_addr;
136 ip_addr_t *addr;
Draw.h61 ip_addr_t *addr);
81 err_t raw_bind (struct raw_pcb *pcb, ip_addr_t *ipaddr);
82 err_t raw_connect (struct raw_pcb *pcb, ip_addr_t *ipaddr);
85 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr);
Ddhcp.h52 ip_addr_t server_ip_addr; /* dhcp server address that offered this lease */
53 ip_addr_t offered_ip_addr;
54 ip_addr_t offered_sn_mask;
55 ip_addr_t offered_gw_addr;
63 ip_addr_t offered_si_addr;
127 void dhcp_arp_reply(struct netif *netif, ip_addr_t *addr);
Dapi.h216 err_t netconn_getaddr(struct netconn *conn, ip_addr_t *addr,
221 err_t netconn_bind(struct netconn *conn, ip_addr_t *addr, u16_t port);
222 err_t netconn_connect(struct netconn *conn, ip_addr_t *addr, u16_t port);
231 ip_addr_t *addr, u16_t port);
239 err_t netconn_join_leave_group(struct netconn *conn, ip_addr_t *multiaddr,
240 ip_addr_t *netif_addr, enum netconn_igmp join_or_leave);
243 err_t netconn_gethostbyname(const char *name, ip_addr_t *addr);
/external/syslinux/core/lwip/src/include/ipv4/lwip/
Dip.h78 ip_addr_t local_ip; \
79 ip_addr_t remote_ip; \
167 extern ip_addr_t current_iphdr_src;
169 extern ip_addr_t current_iphdr_dest;
172 struct netif *ip_route(ip_addr_t *dest);
174 err_t ip_output(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
176 err_t ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
180 err_t ip_output_hinted(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
184 err_t ip_output_if_opt(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
Digmp.h78 ip_addr_t group_address;
94 struct igmp_group *igmp_lookfor_group(struct netif *ifp, ip_addr_t *addr);
95 void igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest);
96 err_t igmp_joingroup(ip_addr_t *ifaddr, ip_addr_t *groupaddr);
97 err_t igmp_leavegroup(ip_addr_t *ifaddr, ip_addr_t *groupaddr);
Dip_addr.h64 typedef struct ip_addr ip_addr_t; typedef
86 extern const ip_addr_t ip_addr_any;
87 extern const ip_addr_t ip_addr_broadcast;
92 #define IP_ADDR_ANY ((ip_addr_t *)&ip_addr_any)
93 #define IP_ADDR_BROADCAST ((ip_addr_t *)&ip_addr_broadcast)
158 #define IPADDR2_COPY(dest, src) SMEMCPY(dest, src, sizeof(ip_addr_t))
235 int ipaddr_aton(const char *cp, ip_addr_t *addr);
237 char *ipaddr_ntoa(const ip_addr_t *addr);
238 char *ipaddr_ntoa_r(const ip_addr_t *addr, char *buf, int buflen);
Dinet_chksum.h76 ip_addr_t *src, ip_addr_t *dest,
79 ip_addr_t *src, ip_addr_t *dest,
Dinet.h93 #define inet_addr_to_ipaddr_p(target_ipaddr_p, source_inaddr) ((target_ipaddr_p) = (ip_addr_t*)&(…
97 #define inet_aton(cp, addr) ipaddr_aton(cp, (ip_addr_t*)addr)
98 #define inet_ntoa(addr) ipaddr_ntoa((ip_addr_t*)&(addr))
99 #define inet_ntoa_r(addr, buf, buflen) ipaddr_ntoa_r((ip_addr_t*)&(addr), buf, buflen)
/external/syslinux/core/lwip/src/include/netif/
Detharp.h183 s8_t etharp_find_addr(struct netif *netif, ip_addr_t *ipaddr,
184 struct eth_addr **eth_ret, ip_addr_t **ip_ret);
185 err_t etharp_output(struct netif *netif, struct pbuf *q, ip_addr_t *ipaddr);
186 err_t etharp_query(struct netif *netif, ip_addr_t *ipaddr, struct pbuf *q);
187 err_t etharp_request(struct netif *netif, ip_addr_t *ipaddr);
195 err_t etharp_add_static_entry(ip_addr_t *ipaddr, struct eth_addr *ethaddr);
196 err_t etharp_remove_static_entry(ip_addr_t *ipaddr);
202 const struct eth_addr *hwsrc_addr, const ip_addr_t *ipsrc_addr,
203 const struct eth_addr *hwdst_addr, const ip_addr_t *ipdst_addr,
/external/syslinux/core/lwip/src/core/ipv4/
Digmp.c138 static struct igmp_group *igmp_lookup_group(struct netif *ifp, ip_addr_t *addr);
144 static err_t igmp_ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, struct netif *neti…
149 static ip_addr_t allsystems;
150 static ip_addr_t allrouters;
291 igmp_lookfor_group(struct netif *ifp, ip_addr_t *addr) in igmp_lookfor_group()
317 igmp_lookup_group(struct netif *ifp, ip_addr_t *addr) in igmp_lookup_group()
390 igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest) in igmp_input()
464 ip_addr_t groupaddr; in igmp_input()
516 igmp_joingroup(ip_addr_t *ifaddr, ip_addr_t *groupaddr) in igmp_joingroup()
586 igmp_leavegroup(ip_addr_t *ifaddr, ip_addr_t *groupaddr) in igmp_leavegroup()
[all …]
Dip_addr.c44 const ip_addr_t ip_addr_any = { IPADDR_ANY };
45 const ip_addr_t ip_addr_broadcast = { IPADDR_BROADCAST };
57 ip_addr_t ipaddr; in ip4_addr_isbroadcast()
132 ip_addr_t val; in ipaddr_addr()
152 ipaddr_aton(const char *cp, ip_addr_t *addr) in ipaddr_aton()
261 ipaddr_ntoa(const ip_addr_t *addr) in ipaddr_ntoa()
276 char *ipaddr_ntoa_r(const ip_addr_t *addr, char *buf, int buflen) in ipaddr_ntoa_r()
Dip.c107 ip_addr_t current_iphdr_src;
109 ip_addr_t current_iphdr_dest;
124 ip_route(ip_addr_t *dest) in ip_route()
572 ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
586 err_t ip_output_if_opt(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
592 ip_addr_t dest_addr;
748 ip_output(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
787 ip_output_hinted(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
/external/syslinux/core/lwip/src/api/
Dnetdb.c52 ip_addr_t *addrs;
53 ip_addr_t addr;
88 ip_addr_t addr; in lwip_gethostbyname()
93 HOSTENT_STORAGE ip_addr_t s_hostent_addr; in lwip_gethostbyname()
94 HOSTENT_STORAGE ip_addr_t *s_phostent_addr[2]; in lwip_gethostbyname()
111 s_hostent.h_length = sizeof(ip_addr_t); in lwip_gethostbyname()
132 …LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_addr_list[%i]-> == %s\n", idx, ip_ntoa((ip_addr_t*)s_hostent.h_… in lwip_gethostbyname()
217 ret->h_length = sizeof(ip_addr_t); in lwip_gethostbyname_r()
270 ip_addr_t addr; in lwip_getaddrinfo()
Dnetifapi.c99 ip_addr_t *ipaddr, in netifapi_netif_add()
100 ip_addr_t *netmask, in netifapi_netif_add()
101 ip_addr_t *gw, in netifapi_netif_add()
127 ip_addr_t *ipaddr, in netifapi_netif_set_addr()
128 ip_addr_t *netmask, in netifapi_netif_set_addr()
129 ip_addr_t *gw) in netifapi_netif_set_addr()
Dapi_lib.c135 netconn_getaddr(struct netconn *conn, ip_addr_t *addr, u16_t *port, u8_t local) in netconn_getaddr()
166 netconn_bind(struct netconn *conn, ip_addr_t *addr, u16_t port) in netconn_bind()
192 netconn_connect(struct netconn *conn, ip_addr_t *addr, u16_t port) in netconn_connect()
540 netconn_sendto(struct netconn *conn, struct netbuf *buf, ip_addr_t *addr, u16_t port) in netconn_sendto()
680 ip_addr_t *multiaddr, in netconn_join_leave_group()
681 ip_addr_t *netif_addr, in netconn_join_leave_group()
713 netconn_gethostbyname(const char *name, ip_addr_t *addr) in netconn_gethostbyname()
/external/syslinux/core/lwip/src/core/
Dnetif.c107 ip_addr_t loop_ipaddr, loop_netmask, loop_gw; in netif_init()
137 netif_add(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, in netif_add()
138 ip_addr_t *gw, void *state, netif_init_fn init, netif_input_fn input) in netif_add()
222 netif_set_addr(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, in netif_set_addr()
223 ip_addr_t *gw) in netif_set_addr()
319 netif_set_ipaddr(struct netif *netif, ip_addr_t *ipaddr) in netif_set_ipaddr()
384 netif_set_gw(struct netif *netif, ip_addr_t *gw) in netif_set_gw()
405 netif_set_netmask(struct netif *netif, ip_addr_t *netmask) in netif_set_netmask()
589 ip_addr_t *ipaddr) in netif_loop_output()
Ddns.c177 ip_addr_t ipaddr;
211 static void dns_recv(void *s, struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *addr, u16_t port);
222 static ip_addr_t dns_servers[DNS_MAX_SERVERS];
234 ip_addr_t dnsserver; in dns_init()
273 dns_setserver(u8_t numdns, ip_addr_t *dnsserver) in dns_setserver()
293 ip_addr_t
384 dns_local_removehost(const char *hostname, const ip_addr_t *addr) in dns_local_removehost()
419 dns_local_addhost(const char *hostname, const ip_addr_t *addr) in dns_local_addhost()
738 dns_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *addr, u16_t port) in dns_recv()
809 (ans.len == PP_HTONS(sizeof(ip_addr_t))) ) { in dns_recv()
[all …]
Draw.c142 raw_bind(struct raw_pcb *pcb, ip_addr_t *ipaddr) in raw_bind()
162 raw_connect(struct raw_pcb *pcb, ip_addr_t *ipaddr) in raw_connect()
203 raw_sendto(struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr) in raw_sendto()
207 ip_addr_t *src_ip; in raw_sendto()
/external/syslinux/core/lwip/src/netif/
Detharp.c100 ip_addr_t ipaddr;
131 static err_t update_arp_entry(struct netif *netif, ip_addr_t *ipaddr, struct eth_addr *ethaddr, u8_…
258 find_entry(ip_addr_t *ipaddr, u8_t flags) in find_entry()
443 update_arp_entry(struct netif *netif, ip_addr_t *ipaddr, struct eth_addr *ethaddr, u8_t flags)
522 etharp_add_static_entry(ip_addr_t *ipaddr, struct eth_addr *ethaddr)
547 etharp_remove_static_entry(ip_addr_t *ipaddr)
583 etharp_find_addr(struct netif *netif, ip_addr_t *ipaddr,
584 struct eth_addr **eth_ret, ip_addr_t **ip_ret)
623 ip_addr_t iphdr_src;
673 ip_addr_t sipaddr, dipaddr;
[all …]
/external/syslinux/core/lwip/src/core/snmp/
Dmib2.c1089 void snmp_insert_arpidx_tree(struct netif *ni, ip_addr_t *ip) in snmp_insert_arpidx_tree()
1161 void snmp_delete_arpidx_tree(struct netif *ni, ip_addr_t *ip) in snmp_delete_arpidx_tree()
1442 ip_addr_t dst; in snmp_insert_iprteidx_tree()
1519 ip_addr_t dst; in snmp_delete_iprteidx_tree()
2726 ip_addr_t* ipaddr_ret; in atentry_get_value()
2728 ip_addr_t ip; in atentry_get_value()
2759 ip_addr_t *dst = (ip_addr_t*)value; in atentry_get_value()
3074 ip_addr_t ip; in ip_addrentry_get_value()
3094 ip_addr_t *dst = (ip_addr_t*)value; in ip_addrentry_get_value()
3106 ip_addr_t *dst = (ip_addr_t*)value; in ip_addrentry_get_value()
[all …]

123