/third_party/lwip/src/include/lwip/ |
D | ip4.h | 65 struct netif *ip4_route(const ip4_addr_t *dest); 67 struct netif *ip4_route_src(const ip4_addr_t *src, const ip4_addr_t *dest); 72 err_t ip4_output(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 74 err_t ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 76 err_t ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 79 err_t ip4_output_hinted(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 83 err_t ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 86 err_t ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest,
|
D | igmp.h | 78 ip4_addr_t group_address; 94 struct igmp_group *igmp_lookfor_group(struct netif *ifp, const ip4_addr_t *addr); 95 void igmp_input(struct pbuf *p, struct netif *inp, const ip4_addr_t *dest); 96 err_t igmp_joingroup(const ip4_addr_t *ifaddr, const ip4_addr_t *groupaddr); 97 err_t igmp_joingroup_netif(struct netif *netif, const ip4_addr_t *groupaddr); 98 err_t igmp_leavegroup(const ip4_addr_t *ifaddr, const ip4_addr_t *groupaddr); 99 err_t igmp_leavegroup_netif(struct netif *netif, const ip4_addr_t *groupaddr);
|
D | etharp.h | 78 ssize_t etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr, 79 struct eth_addr **eth_ret, const ip4_addr_t **ip_ret); 80 int etharp_get_entry(size_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_addr **eth_ret… 81 err_t etharp_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr); 82 err_t etharp_query(struct netif *netif, const ip4_addr_t *ipaddr, struct pbuf *q); 83 err_t etharp_request(struct netif *netif, const ip4_addr_t *ipaddr); 92 err_t etharp_add_static_entry(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr); 93 err_t etharp_remove_static_entry(const ip4_addr_t *ipaddr);
|
D | netifapi.h | 60 err_t netifapi_arp_add(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, enum netifapi_arp_entry … 62 err_t netifapi_arp_remove(const ip4_addr_t *ipaddr, enum netifapi_arp_entry type); 67 const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw, 72 err_t netifapi_netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, 73 const ip4_addr_t *netmask, const ip4_addr_t *gw);
|
D | dhcp.h | 125 ip4_addr_t offered_ip_addr; 126 ip4_addr_t offered_sn_mask; 127 ip4_addr_t offered_gw_addr; 133 ip4_addr_t offered_si_addr; 155 void dhcp_arp_reply(struct netif *netif, const ip4_addr_t *addr); 167 extern void dhcp_set_ntp_servers(u8_t num_ntp_servers, const ip4_addr_t* ntp_server_addrs);
|
D | netif.h | 190 const ip4_addr_t *ipaddr); 218 const ip4_addr_t *group, enum netif_mac_filter_action action); 421 … const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw, 423 void netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, 424 const ip4_addr_t *gw); 439 void netif_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr); 440 void netif_set_netmask(struct netif *netif, const ip4_addr_t *netmask); 441 void netif_set_gw(struct netif *netif, const ip4_addr_t *gw); 443 #define netif_ip4_addr(netif) ((const ip4_addr_t*)ip_2_ip4(&((netif)->ip_addr))) 445 #define netif_ip4_netmask(netif) ((const ip4_addr_t*)ip_2_ip4(&((netif)->netmask))) [all …]
|
D | inet_chksum.h | 82 const ip4_addr_t *src, const ip4_addr_t *dest); 84 u16_t proto_len, u16_t chksum_len, const ip4_addr_t *src, const ip4_addr_t *dest);
|
D | ip4_addr.h | 57 typedef struct ip4_addr ip4_addr_t; typedef 205 int ip4addr_aton(const char *cp, ip4_addr_t *addr); 207 char *ip4addr_ntoa(const ip4_addr_t *addr); 208 char *ip4addr_ntoa_r(const ip4_addr_t *addr, char *buf, int buflen);
|
D | inet.h | 140 #define inet_aton(cp, addr) ip4addr_aton(cp, (ip4_addr_t*)addr) 141 #define inet_ntoa(addr) ip4addr_ntoa((const ip4_addr_t*)&(addr)) 142 #define inet_ntoa_r(addr, buf, buflen) ip4addr_ntoa_r((const ip4_addr_t*)&(addr), buf, buflen)
|
D | autoip.h | 64 ip4_addr_t llipaddr; 89 u8_t autoip_accept_packet(struct netif *netif, const ip4_addr_t *addr);
|
/third_party/lwip/test/unit/dhcp/ |
D | test_dhcp.c | 436 ip4_addr_t addr; in START_TEST() 437 ip4_addr_t netmask; in START_TEST() 438 ip4_addr_t gw; in START_TEST() 462 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 463 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST() 464 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST() 493 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 494 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST() 495 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST() 510 ip4_addr_t addr; in START_TEST() [all …]
|
/third_party/lwip/src/core/ipv4/ |
D | igmp.c | 99 static struct igmp_group *igmp_lookup_group(struct netif *ifp, const ip4_addr_t *addr); 104 static err_t igmp_ip_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, stru… 107 static ip4_addr_t allsystems; 108 static ip4_addr_t allrouters; 218 igmp_lookfor_group(struct netif *ifp, const ip4_addr_t *addr) in igmp_lookfor_group() 244 igmp_lookup_group(struct netif *ifp, const ip4_addr_t *addr) in igmp_lookup_group() 323 igmp_input(struct pbuf *p, struct netif *inp, const ip4_addr_t *dest) in igmp_input() 399 ip4_addr_t groupaddr; in igmp_input() 449 igmp_joingroup(const ip4_addr_t *ifaddr, const ip4_addr_t *groupaddr) in igmp_joingroup() 485 igmp_joingroup_netif(struct netif *netif, const ip4_addr_t *groupaddr) in igmp_joingroup_netif() [all …]
|
D | etharp.c | 98 ip4_addr_t ipaddr; 133 static err_t etharp_request_dst(struct netif *netif, const ip4_addr_t *ipaddr, const struct eth_add… 136 const struct eth_addr *hwsrc_addr, const ip4_addr_t *ipsrc_addr, 137 const struct eth_addr *hwdst_addr, const ip4_addr_t *ipdst_addr, 256 etharp_find_entry(const ip4_addr_t *ipaddr, u8_t flags, struct netif *netif) in etharp_find_entry() 422 etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, u8… 503 etharp_add_static_entry(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr) 529 etharp_remove_static_entry(const ip4_addr_t *ipaddr) 583 etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr, 584 struct eth_addr **eth_ret, const ip4_addr_t **ip_ret) [all …]
|
D | ip4_addr.c | 60 ip4_addr_t ipaddr; in ip4_addr_isbroadcast_u32() 125 ip4_addr_t val; in ipaddr_addr() 145 ip4addr_aton(const char *cp, ip4_addr_t *addr) in ip4addr_aton() 269 ip4addr_ntoa(const ip4_addr_t *addr) in ip4addr_ntoa() 285 ip4addr_ntoa_r(const ip4_addr_t *addr, char *buf, int buflen) in ip4addr_ntoa_r()
|
D | ip4.c | 129 ip4_route_src(const ip4_addr_t *src, const ip4_addr_t *dest) in ip4_route_src() 152 ip4_route(const ip4_addr_t *dest) in ip4_route() 523 ip4_addr_t allsystems; 787 ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 802 ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 807 const ip4_addr_t *src_used = src; 827 ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 840 ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 846 ip4_addr_t dest_addr; 1028 ip4_output(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, [all …]
|
D | autoip.c | 169 autoip_create_addr(struct netif *netif, ip4_addr_t *ipaddr) in autoip_create_addr() 231 ip4_addr_t sn_mask, gw_addr; in autoip_bind() 464 ip4_addr_t sipaddr, dipaddr; in autoip_arp_reply() 521 autoip_accept_packet(struct netif *netif, const ip4_addr_t *addr) in autoip_accept_packet()
|
/third_party/lwip/src/api/ |
D | netifapi.c | 163 netifapi_arp_add(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, enum netifapi_arp_entry type) in netifapi_arp_add() 193 netifapi_arp_remove(const ip4_addr_t *ipaddr, enum netifapi_arp_entry type) in netifapi_arp_remove() 224 const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw, in netifapi_netif_add() 268 const ip4_addr_t *ipaddr, in netifapi_netif_set_addr() 269 const ip4_addr_t *netmask, in netifapi_netif_set_addr() 270 const ip4_addr_t *gw) in netifapi_netif_set_addr()
|
/third_party/lwip/test/unit/etharp/ |
D | test_etharp.c | 17 static ip4_addr_t test_ipaddr, test_netmask, test_gw; 77 create_arp_response(ip4_addr_t *adr) in create_arp_response() 96 etharphdr->protolen = sizeof(ip4_addr_t); in create_arp_response() 99 SMEMCPY(ðarphdr->sipaddr, adr, sizeof(ip4_addr_t)); in create_arp_response() 100 SMEMCPY(ðarphdr->dipaddr, &test_ipaddr, sizeof(ip4_addr_t)); in create_arp_response() 143 const ip4_addr_t *unused_ipaddr; in START_TEST() 157 ip4_addr_t adrs[ARP_TABLE_SIZE + 2]; in START_TEST()
|
/third_party/lwip/src/core/distributed_net/ |
D | distributed_net_utils.c | 89 ip4_addr_t ip4_ip = {addr_in->sin_addr.s_addr}; in is_no_proxy_network_segment() 90 ip4_addr_t ip4_net_ip = {ipaddr_addr(g_special_network_segment[i].ip)}; in is_no_proxy_network_segment() 91 ip4_addr_t ip4_mask = {mask_len_to_mask(g_special_network_segment[i].mask_len)}; in is_no_proxy_network_segment()
|
/third_party/lwip/test/unit/core/ |
D | test_netif.c | 95 ip4_addr_t addr; in NETIF_DECLARE_EXT_CALLBACK() 96 ip4_addr_t netmask; in NETIF_DECLARE_EXT_CALLBACK() 97 ip4_addr_t gw; in NETIF_DECLARE_EXT_CALLBACK() 220 ip4_addr_t addr; in START_TEST() 221 ip4_addr_t netmask; in START_TEST() 222 ip4_addr_t gw; in START_TEST()
|
/third_party/lwip/src/apps/snmp/ |
D | snmp_mib2_ip.c | 253 ip4_addr_t ip; in ip_AddrTable_get_cell_value() 326 ip4_addr_t tmp; in ip_RouteTable_get_cell_value_core() 398 ip4_addr_t test_ip; in ip_RouteTable_get_cell_value() 417 ip4_addr_t dst; in ip_RouteTable_get_cell_value() 449 ip4_addr_t dst; in ip_RouteTable_get_next_cell_instance_and_value() 461 ip4_addr_t dst; in ip_RouteTable_get_next_cell_instance_and_value() 487 ip4_addr_t *ip; in ip_NetToMediaTable_get_cell_value_core() 518 ip4_addr_t ip_in; in ip_NetToMediaTable_get_cell_value() 533 ip4_addr_t *ip; in ip_NetToMediaTable_get_cell_value() 561 ip4_addr_t *ip; in ip_NetToMediaTable_get_next_cell_instance_and_value()
|
/third_party/lwip/src/core/ |
D | netif.c | 129 static err_t netif_null_output_ip4(struct netif *netif, struct pbuf *p, const ip4_addr_t *ipaddr); 134 static err_t netif_loop_output_ipv4(struct netif *netif, struct pbuf *p, const ip4_addr_t *addr); 182 ip4_addr_t loop_ipaddr, loop_netmask, loop_gw; in netif_init() 278 const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw, in netif_add() 460 netif_do_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr, ip_addr_t *old_addr) in netif_do_set_ipaddr() 503 netif_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr) in netif_set_ipaddr() 526 netif_do_set_netmask(struct netif *netif, const ip4_addr_t *netmask, ip_addr_t *old_nm) in netif_do_set_netmask() 563 netif_set_netmask(struct netif *netif, const ip4_addr_t *netmask) in netif_set_netmask() 590 netif_do_set_gw(struct netif *netif, const ip4_addr_t *gw, ip_addr_t *old_gw) in netif_do_set_gw() 624 netif_set_gw(struct netif *netif, const ip4_addr_t *gw) in netif_set_gw() [all …]
|
/third_party/lwip/src/include/lwip/prot/ |
D | etharp.h | 71 #define IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(dest, src) SMEMCPY(dest, src, sizeof(ip4_addr_t)) 78 #define IPADDR_WORDALIGNED_COPY_FROM_IP4_ADDR_T(dest, src) SMEMCPY(dest, src, sizeof(ip4_addr_t))
|
/third_party/lwip/src/include/lwip/priv/ |
D | api_msg.h | 243 NETIFAPI_IPADDR_DEF(ip4_addr_t, ipaddr); 244 NETIFAPI_IPADDR_DEF(ip4_addr_t, netmask); 245 NETIFAPI_IPADDR_DEF(ip4_addr_t, gw);
|
/third_party/lwip/test/fuzz/ |
D | fuzz.c | 144 ip4_addr_t addr; in main() 145 ip4_addr_t netmask; in main() 146 ip4_addr_t gw; in main()
|