/AliOS-Things-master/components/netmgr/netdev/include/ |
A D | netdev.h | 77 ip_addr_t ip_addr; /* IP address */ 78 ip_addr_t netmask; /* subnet mask */ 79 ip_addr_t gw; /* gateway */ 80 ip_addr_t dns_servers[NETDEV_DNS_SERVERS_NUM]; /* DNS server */ 105 ip_addr_t ip_addr; /* response IP address */ 122 …int (*set_addr_info)(struct netdev *netdev, ip_addr_t *ip_addr, ip_addr_t *netmask, ip_addr_t *gw); 139 struct netdev *netdev_get_by_ipaddr(ip_addr_t *ip_addr); 162 int netdev_set_ipaddr(struct netdev *netdev, const ip_addr_t *ipaddr); 163 int netdev_set_netmask(struct netdev *netdev, const ip_addr_t *netmask); 164 int netdev_set_gw(struct netdev *netdev, const ip_addr_t *gw); [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/ |
A D | dns.h | 76 ip_addr_t addr; 94 typedef void (*dns_found_callback)(const char *name, const ip_addr_t *ipaddr, void *callback_arg); 98 void dns_setserver(u8_t numdns, const ip_addr_t *dnsserver); 99 const ip_addr_t* dns_getserver(u8_t numdns); 100 err_t dns_gethostbyname(const char *hostname, ip_addr_t *addr, 102 err_t dns_gethostbyname_addrtype(const char *hostname, ip_addr_t *addr, 107 dns_setserver_if(u8_t numdns, const ip_addr_t *dnsserver, struct netif* netif); 108 const ip_addr_t * 113 int dns_local_removehost(const char *hostname, const ip_addr_t *addr); 114 err_t dns_local_addhost(const char *hostname, const ip_addr_t *addr);
|
A D | udp.h | 78 const ip_addr_t *addr, u16_t port); 95 ip_addr_t multicast_ip; 118 err_t udp_bind (struct udp_pcb *pcb, const ip_addr_t *ipaddr, 120 err_t udp_connect (struct udp_pcb *pcb, const ip_addr_t *ipaddr, 126 const ip_addr_t *dst_ip, u16_t dst_port, 129 const ip_addr_t *dst_ip, u16_t dst_port, 130 struct netif *netif, const ip_addr_t *src_ip); 132 const ip_addr_t *dst_ip, u16_t dst_port); 137 const ip_addr_t *dst_ip, u16_t dst_port, 141 const ip_addr_t *dst_ip, u16_t dst_port, [all …]
|
A D | raw.h | 68 const ip_addr_t *addr); 95 err_t raw_bind (struct raw_pcb *pcb, const ip_addr_t *ipaddr); 96 err_t raw_connect (struct raw_pcb *pcb, const ip_addr_t *ipaddr); 98 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *ipaddr); 107 void raw_netif_ip_addr_changed(const ip_addr_t* old_addr, const ip_addr_t* new_addr);
|
A D | inet_chksum.h | 96 const ip_addr_t *src, const ip_addr_t *dest); 98 u16_t chksum_len, const ip_addr_t *src, const ip_addr_t *dest);
|
A D | api.h | 303 err_t netconn_getaddr(struct netconn *conn, ip_addr_t *addr, 310 err_t netconn_bind(struct netconn *conn, const ip_addr_t *addr, u16_t port); 311 err_t netconn_connect(struct netconn *conn, const ip_addr_t *addr, u16_t port); 320 const ip_addr_t *addr, u16_t port); 331 err_t netconn_join_leave_group(struct netconn *conn, const ip_addr_t *multiaddr, 332 const ip_addr_t *netif_addr, enum netconn_igmp join_or_leave); 336 err_t netconn_gethostbyname_addrtype(const char *name, ip_addr_t *addr, u8_t dns_addrtype); 339 err_t netconn_gethostbyname(const char *name, ip_addr_t *addr);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/ |
A D | udp.h | 78 const ip_addr_t *addr, u16_t port); 95 ip_addr_t multicast_ip; 118 err_t udp_bind (struct udp_pcb *pcb, const ip_addr_t *ipaddr, 120 err_t udp_connect (struct udp_pcb *pcb, const ip_addr_t *ipaddr, 126 const ip_addr_t *dst_ip, u16_t dst_port, 129 const ip_addr_t *dst_ip, u16_t dst_port, 130 struct netif *netif, const ip_addr_t *src_ip); 132 const ip_addr_t *dst_ip, u16_t dst_port); 137 const ip_addr_t *dst_ip, u16_t dst_port, 141 const ip_addr_t *dst_ip, u16_t dst_port, [all …]
|
A D | dns.h | 76 ip_addr_t addr; 94 typedef void (*dns_found_callback)(const char *name, const ip_addr_t *ipaddr, void *callback_arg); 98 void dns_setserver(u8_t numdns, const ip_addr_t *dnsserver); 99 const ip_addr_t* dns_getserver(u8_t numdns); 100 err_t dns_gethostbyname(const char *hostname, ip_addr_t *addr, 102 err_t dns_gethostbyname_addrtype(const char *hostname, ip_addr_t *addr, 108 int dns_local_removehost(const char *hostname, const ip_addr_t *addr); 109 err_t dns_local_addhost(const char *hostname, const ip_addr_t *addr);
|
A D | raw.h | 68 const ip_addr_t *addr); 95 err_t raw_bind (struct raw_pcb *pcb, const ip_addr_t *ipaddr); 96 err_t raw_connect (struct raw_pcb *pcb, const ip_addr_t *ipaddr); 98 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *ipaddr); 107 void raw_netif_ip_addr_changed(const ip_addr_t* old_addr, const ip_addr_t* new_addr);
|
A D | inet_chksum.h | 96 const ip_addr_t *src, const ip_addr_t *dest); 98 u16_t chksum_len, const ip_addr_t *src, const ip_addr_t *dest);
|
A D | api.h | 301 err_t netconn_getaddr(struct netconn *conn, ip_addr_t *addr, 308 err_t netconn_bind(struct netconn *conn, const ip_addr_t *addr, u16_t port); 309 err_t netconn_connect(struct netconn *conn, const ip_addr_t *addr, u16_t port); 318 const ip_addr_t *addr, u16_t port); 329 err_t netconn_join_leave_group(struct netconn *conn, const ip_addr_t *multiaddr, 330 const ip_addr_t *netif_addr, enum netconn_igmp join_or_leave); 334 err_t netconn_gethostbyname_addrtype(const char *name, ip_addr_t *addr, u8_t dns_addrtype); 337 err_t netconn_gethostbyname(const char *name, ip_addr_t *addr);
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/ |
A D | lwip_netconf.c | 117 ip_addr_t ipaddr; in LwIP_Init() 118 ip_addr_t netmask; in LwIP_Init() 119 ip_addr_t gw; in LwIP_Init() 192 ip_addr_t ipaddr; in LwIP_DHCP() 193 ip_addr_t netmask; in LwIP_DHCP() 194 ip_addr_t gw; in LwIP_DHCP() 336 ip_addr_t ipaddr; in LwIP_ReleaseIP() 338 ip_addr_t gw; in LwIP_ReleaseIP() 387 ip_addr_t ipaddr; in LwIP_UseStaticIP() 389 ip_addr_t gw; in LwIP_UseStaticIP() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/network/dhcp/ |
A D | dhcps.c | 16 static ip_addr_t dhcps_local_address; 17 static ip_addr_t dhcps_pool_start; 18 static ip_addr_t dhcps_pool_end; 19 static ip_addr_t dhcps_local_mask; 21 static ip_addr_t dhcps_network_id; 37 static ip_addr_t client_request_ip; 699 sizeof(ip_addr_t)); in dhcps_set_addr_pool() 703 sizeof(ip_addr_t)); in dhcps_set_addr_pool() 745 sizeof( ip_addr_t)); in dhcps_init() 747 sizeof(ip_addr_t)); in dhcps_init() [all …]
|
/AliOS-Things-master/components/py_engine/engine/shared/netutils/ |
A D | dhcpserver.h | 40 ip_addr_t ip; 41 ip_addr_t nm; 46 void dhcp_server_init(dhcp_server_t *d, ip_addr_t *ip, ip_addr_t *nm);
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/snmp/ |
A D | snmp_raw.c | 46 snmp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) in snmp_recv() 56 snmp_sendto(void *handle, struct pbuf *p, const ip_addr_t *dst, u16_t port) in snmp_sendto() 62 snmp_get_local_ip_for_dst(void* handle, const ip_addr_t *dst, ip_addr_t *result) in snmp_get_local_ip_for_dst() 66 const ip_addr_t* dst_ip; in snmp_get_local_ip_for_dst()
|
A D | snmp_netconn.c | 80 snmp_sendto(void *handle, struct pbuf *p, const ip_addr_t *dst, u16_t port) in snmp_sendto() 93 snmp_get_local_ip_for_dst(void* handle, const ip_addr_t *dst, ip_addr_t *result) in snmp_get_local_ip_for_dst() 97 const ip_addr_t* dst_ip; in snmp_get_local_ip_for_dst()
|
A D | snmp_msg.h | 97 const ip_addr_t *source_ip; 182 void snmp_receive(void *handle, struct pbuf *p, const ip_addr_t *source_ip, u16_t port); 183 err_t snmp_sendto(void *handle, struct pbuf *p, const ip_addr_t *dst, u16_t port); 184 u8_t snmp_get_local_ip_for_dst(void* handle, const ip_addr_t *dst, ip_addr_t *result);
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/dhcpd/ |
A D | dhcps.c | 25 static ip_addr_t dhcps_local_address; 26 static ip_addr_t dhcps_pool_start; 27 static ip_addr_t dhcps_pool_end; 28 static ip_addr_t dhcps_local_mask; 29 static ip_addr_t dhcps_local_gateway; 30 static ip_addr_t dhcps_network_id; 35 static ip_addr_t dhcps_addr_pool_end; 37 static ip_addr_t dhcps_owned_last_ip; 44 static ip_addr_t client_request_ip; 791 sizeof(ip_addr_t)); in dhcps_init() [all …]
|
/AliOS-Things-master/components/netmgr/include_inner/ |
A D | netmgr_conn.h | 25 ip_addr_t static_ip; 26 ip_addr_t static_mask; 27 ip_addr_t static_gw; 28 ip_addr_t static_dns;
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/priv/ |
A D | api_msg.h | 96 API_MSG_M_DEF_C(ip_addr_t, ipaddr); 101 ip_addr_t API_MSG_M_DEF(ipaddr); 132 API_MSG_M_DEF_C(ip_addr_t, multiaddr); 133 API_MSG_M_DEF_C(ip_addr_t, netif_addr); 168 ip_addr_t API_MSG_M_DEF(addr);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/priv/ |
A D | api_msg.h | 96 API_MSG_M_DEF_C(ip_addr_t, ipaddr); 101 ip_addr_t API_MSG_M_DEF(ipaddr); 132 API_MSG_M_DEF_C(ip_addr_t, multiaddr); 133 API_MSG_M_DEF_C(ip_addr_t, netif_addr); 168 ip_addr_t API_MSG_M_DEF(addr);
|
/AliOS-Things-master/components/netmgr/netdev/src/ |
A D | netdev.c | 171 struct netdev *netdev_get_by_ipaddr(ip_addr_t *ip_addr) in netdev_get_by_ipaddr() 444 int netdev_set_ipaddr(struct netdev *netdev, const ip_addr_t *ip_addr) in netdev_set_ipaddr() 466 return netdev->ops->set_addr_info(netdev, (ip_addr_t *)ip_addr, NULL, NULL); in netdev_set_ipaddr() 478 int netdev_set_netmask(struct netdev *netdev, const ip_addr_t *netmask) in netdev_set_netmask() 497 return netdev->ops->set_addr_info(netdev, NULL, (ip_addr_t *)netmask, NULL); in netdev_set_netmask() 509 int netdev_set_gw(struct netdev *netdev, const ip_addr_t *gw) in netdev_set_gw() 528 return netdev->ops->set_addr_info(netdev, NULL, NULL, (ip_addr_t *)gw); in netdev_set_gw() 558 return netdev->ops->set_dns_server(netdev, dns_num, (ip_addr_t *)dns_server); in netdev_set_dns_server() 597 void netdev_low_level_set_ipaddr(struct netdev *netdev, const ip_addr_t *ip_addr) in netdev_low_level_set_ipaddr() 628 void netdev_low_level_set_netmask(struct netdev *netdev, const ip_addr_t *netmask) in netdev_low_level_set_netmask() [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/apps/ |
A D | lwiperf.h | 70 const ip_addr_t* local_addr, u16_t local_port, const ip_addr_t* remote_addr, u16_t remote_port, 74 void* lwiperf_start_tcp_server(const ip_addr_t* local_addr, u16_t local_port,
|
/AliOS-Things-master/components/lwip/lwip2.0.0/api/ |
A D | netdb.c | 54 ip_addr_t *addr_list[2]; 55 ip_addr_t addr; 90 ip_addr_t addr; in lwip_gethostbyname() 95 HOSTENT_STORAGE ip_addr_t s_hostent_addr; in lwip_gethostbyname() 96 HOSTENT_STORAGE ip_addr_t *s_phostent_addr[2]; in lwip_gethostbyname() 117 s_hostent.h_length = sizeof(ip_addr_t); in lwip_gethostbyname() 132 …LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_addr_list[%i]-> == %s\n", idx, ipaddr_ntoa((ip_addr_t*)s_hosten… in lwip_gethostbyname() 218 ret->h_length = sizeof(ip_addr_t); in lwip_gethostbyname_r() 273 ip_addr_t addr; in lwip_getaddrinfo()
|
/AliOS-Things-master/components/amp_adapter/platform/aos/network/ |
A D | aos_netdev.c | 74 int amp_netdev_set_ipaddr(char* netdev_name, const ip_addr_t* ip_addr) in amp_netdev_set_ipaddr() 90 int amp_netdev_set_netmask(char* netdev_name, const ip_addr_t* netmask) in amp_netdev_set_netmask() 106 int amp_netdev_set_gw(char* netdev_name, const ip_addr_t* gw) in amp_netdev_set_gw() 122 int amp_netdev_set_dns_server(char* netdev_name, uint8_t dns_num, const ip_addr_t* dns_server) in amp_netdev_set_dns_server()
|