/lk-master/external/lib/lwip/core/ipv6/ |
A D | ip6_addr.c | 38 ip_addr_netcmp(struct ip_addr *addr1, struct ip_addr *addr2, in ip_addr_netcmp() 39 struct ip_addr *mask) in ip_addr_netcmp() 49 ip_addr_cmp(struct ip_addr *addr1, struct ip_addr *addr2) in ip_addr_cmp() 58 ip_addr_set(struct ip_addr *dest, struct ip_addr *src) in ip_addr_set() 60 SMEMCPY(dest, src, sizeof(struct ip_addr)); in ip_addr_set() 68 ip_addr_isany(struct ip_addr *addr) in ip_addr_isany()
|
A D | ip6.c | 75 ip_route(struct ip_addr *dest) in ip_route() 80 if (ip_addr_netcmp(dest, &(netif->ip_addr), &(netif->netmask))) { in ip_route() 102 if ((netif = ip_route((struct ip_addr *)&(iphdr->dest))) == NULL) { in ip_forward() 106 ip_addr_debug_print(IP_DEBUG, ((struct ip_addr *)&(iphdr->dest))); in ip_forward() 134 ip_addr_debug_print(IP_DEBUG, ((struct ip_addr *)&(iphdr->dest))); in ip_forward() 143 netif->output(netif, p, (struct ip_addr *)&(iphdr->dest)); in ip_forward() 195 if (ip_addr_cmp(&(iphdr->dest), &(netif->ip_addr))) { in ip_input() 260 ip_output_if (struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, in ip_output_if() 290 ip_addr_set(&(iphdr->src), &(netif->ip_addr)); in ip_output_if() 317 ip_output(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, in ip_output() [all …]
|
A D | icmp6.c | 52 struct ip_addr tmpaddr; in icmp_input() 137 (struct ip_addr *)&(iphdr->src), ICMP_TTL, IP_PROTO_ICMP); in icmp_dest_unreach() 175 (struct ip_addr *)&(iphdr->src), ICMP_TTL, IP_PROTO_ICMP); in icmp_time_exceeded()
|
A D | inet6.c | 81 struct ip_addr *src, struct ip_addr *dest, in inet_chksum_pseudo()
|
/lk-master/external/lib/lwip/include/ipv6/lwip/ |
A D | ip_addr.h | 47 struct ip_addr { struct 76 u8_t ip_addr_netcmp(struct ip_addr *addr1, struct ip_addr *addr2, 77 struct ip_addr *mask); 78 u8_t ip_addr_cmp(struct ip_addr *addr1, struct ip_addr *addr2); 79 void ip_addr_set(struct ip_addr *dest, struct ip_addr *src); 80 u8_t ip_addr_isany(struct ip_addr *addr);
|
A D | ip.h | 71 #define IP_PCB struct ip_addr local_ip; \ 72 struct ip_addr remote_ip; \ 96 struct ip_addr src, dest; /* source and destination IP addresses */ 105 struct netif *ip_route(struct ip_addr *dest); 110 err_t ip_output(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, 113 err_t ip_output_if(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest,
|
A D | inet.h | 46 struct ip_addr *src, struct ip_addr *dest,
|
/lk-master/external/lib/lwip/ |
A D | cmd.c | 44 ip_addr_t ip_addr; in net_cmd() local 48 err = netconn_gethostbyname(hostname, &ip_addr); in net_cmd() 53 ip4_addr1_16(&ip_addr), in net_cmd() 54 ip4_addr2_16(&ip_addr), in net_cmd() 55 ip4_addr3_16(&ip_addr), in net_cmd() 56 ip4_addr4_16(&ip_addr)); in net_cmd()
|
A D | netif.c | 51 ip4_addr1_16(&netif->ip_addr), in local_netif_status() 52 ip4_addr2_16(&netif->ip_addr), in local_netif_status() 53 ip4_addr3_16(&netif->ip_addr), in local_netif_status() 54 ip4_addr4_16(&netif->ip_addr), in local_netif_status()
|
A D | rules.mk | 52 $(LOCAL_DIR)/core/ipv4/ip_addr.c \
|
/lk-master/platform/armemu/ |
A D | net.c | 80 struct ip_addr *ipaddr); 239 struct ip_addr *ipaddr) { in ethernetif_output() 351 struct ip_addr *ipaddr = calloc(sizeof(struct ip_addr), 1); in ethernet_init() 352 struct ip_addr *netmask = calloc(sizeof(struct ip_addr), 1); in ethernet_init() 353 struct ip_addr *gw = calloc(sizeof(struct ip_addr), 1); in ethernet_init()
|
/lk-master/app/zynq-common/ |
A D | init.c | 154 uint32_t ip_addr = IPV4_NONE; in zynq_common_target_init() local 171 sysparam_read("net0.ip_addr", &ip_addr, sizeof(ip_addr)); in zynq_common_target_init() 178 if (!use_dhcp && ip_addr != IPV4_NONE) { in zynq_common_target_init() 179 minip_init(gem_send_raw_pkt, NULL, ip_addr, ip_mask, ip_gateway); in zynq_common_target_init()
|
/lk-master/external/lib/lwip/core/ |
A D | netif.c | 146 ip_addr_set_zero(&netif->ip_addr); in netif_add() 332 if (ipaddr && (ip_addr_cmp(ipaddr, &(netif->ip_addr))) == 0) { in netif_set_ipaddr() 338 if (ip_addr_cmp(&(pcb->local_ip), &(netif->ip_addr)) in netif_set_ipaddr() 356 (ip_addr_cmp(&(lpcb->local_ip), &(netif->ip_addr)))) { in netif_set_ipaddr() 367 ip_addr_set(&(netif->ip_addr), ipaddr); in netif_set_ipaddr() 373 ip4_addr1_16(&netif->ip_addr), in netif_set_ipaddr() 374 ip4_addr2_16(&netif->ip_addr), in netif_set_ipaddr() 375 ip4_addr3_16(&netif->ip_addr), in netif_set_ipaddr() 376 ip4_addr4_16(&netif->ip_addr))); in netif_set_ipaddr()
|
A D | udp.c | 291 if (pcb != NULL || ip_addr_cmp(&inp->ip_addr, ¤t_iphdr_dest)) { 629 src_ip = &(netif->ip_addr); 633 if (!ip_addr_cmp(&(pcb->local_ip), &(netif->ip_addr))) { 881 pcb->local_ip = netif->ip_addr;
|
/lk-master/external/lib/lwip/core/ipv4/ |
A D | ip.c | 139 if (ip_addr_netcmp(dest, &(netif->ip_addr), &(netif->netmask))) { in ip_route() 405 ip4_addr_get_u32(&iphdr->dest), ip4_addr_get_u32(&netif->ip_addr), 407 ip4_addr_get_u32(&netif->ip_addr) & ip4_addr_get_u32(&netif->netmask), 411 if ((netif_is_up(netif)) && (!ip_addr_isany(&(netif->ip_addr)))) { 413 if (ip_addr_cmp(¤t_iphdr_dest, &(netif->ip_addr)) || 746 ip_addr_copy(iphdr->src, netif->ip_addr); 778 if (ip_addr_cmp(dest, &netif->ip_addr)) {
|
A D | ip_addr.c | 70 } else if (addr == ip4_addr_get_u32(&netif->ip_addr)) { in ip4_addr_isbroadcast() 73 } else if (ip_addr_netcmp(&ipaddr, &(netif->ip_addr), &(netif->netmask)) in ip4_addr_isbroadcast()
|
A D | igmp.c | 529 …if ((netif->flags & NETIF_FLAG_IGMP) && ((ip_addr_isany(ifaddr) || ip_addr_cmp(&(netif->ip_addr), … in igmp_joingroup() 599 …if ((netif->flags & NETIF_FLAG_IGMP) && ((ip_addr_isany(ifaddr) || ip_addr_cmp(&(netif->ip_addr), … in igmp_leavegroup() 776 ip_addr_copy(src, group->netif->ip_addr); in igmp_send()
|
/lk-master/external/lib/lwip/include/ipv4/lwip/ |
A D | ip_addr.h | 44 struct ip_addr { struct 64 typedef struct ip_addr ip_addr_t; argument
|
/lk-master/target/stm32746g-eval2/ |
A D | init.c | 72 uint32_t ip_addr = IPV4(192, 168, 0, 99); in target_init() local 76 minip_init(stm32_eth_send_minip_pkt, NULL, ip_addr, ip_mask, ip_gateway); in target_init()
|
/lk-master/external/lib/lwip/netif/ |
A D | etharp.c | 659 if (!ip_addr_netcmp(&iphdr_src, &(netif->ip_addr), &(netif->netmask))) { 749 if (ip_addr_isany(&netif->ip_addr)) { 753 for_us = (u8_t)ip_addr_cmp(&dipaddr, &(netif->ip_addr)); 783 IPADDR2_COPY(&hdr->sipaddr, &netif->ip_addr); 791 …ethdst_hwaddr = ip_addr_islinklocal(&netif->ip_addr) ? (u8_t*)(ethbroadcast.addr) : hdr->shwaddr.a… 809 } else if (ip_addr_isany(&netif->ip_addr)) { 921 if (!ip_addr_netcmp(ipaddr, &(netif->ip_addr), &(netif->netmask)) && 1263 (struct eth_addr *)netif->hwaddr, &netif->ip_addr, ðzero,
|
/lk-master/target/stm32f746g-disco/ |
A D | init.c | 69 uint32_t ip_addr = IPV4(192, 168, 0, 98); in target_init() local 73 minip_init(stm32_eth_send_minip_pkt, NULL, ip_addr, ip_mask, ip_gateway); in target_init()
|
/lk-master/platform/qemu-virt-m68k/ |
A D | platform.c | 137 __UNUSED uint32_t ip_addr = IPV4(192, 168, 0, 99); in platform_init()
|
/lk-master/external/lib/lwip/include/netif/ |
A D | etharp.h | 192 #define etharp_gratuitous(netif) etharp_request((netif), &(netif)->ip_addr)
|
/lk-master/target/dartuinoP0/ |
A D | init.c | 128 uint32_t ip_addr = IPV4(192, 168, 0, 98); in target_init() local 132 minip_init(stm32_eth_send_minip_pkt, NULL, ip_addr, ip_mask, ip_gateway); in target_init()
|
/lk-master/platform/qemu-virt-arm/ |
A D | platform.c | 214 __UNUSED uint32_t ip_addr = IPV4(192, 168, 0, 99); in platform_init() local
|