Symbols
loading...
Files
loading...

ip4_addr::addr field

Syntax

u32_t addr;

Examples

ip4_addr::addr is referenced by 35 libraries and example projects.

References

LocationReferrerText
ip4_addr.h:52
u32_t addr;
api_lib.c:894netconn_recv()
api_lib.c:925netconn_sendto()
api_msg.c:258recv_udp()
api_msg.c:1561lwip_netconn_do_send()
if (ip_addr_isany_val(msg->msg.b->addr) || IP_IS_ANY_TYPE_VAL(msg->msg.b->addr)) {
api_msg.c:1873lwip_netconn_do_getaddr()
api_msg.c:1876lwip_netconn_do_getaddr()
dhcp.c:342dhcp_handle_offer()
dhcp.c:346dhcp_handle_offer()
dhcp.c:391dhcp_select()
options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offered_ip_addr)));
dhcp.c:394dhcp_select()
options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(ip_2_ip4(&dhcp->server_ip_addr))));
dhcp.c:611dhcp_handle_ack()
dhcp.c:612dhcp_handle_ack()
dhcp.c:641dhcp_handle_ack()
dhcp.c:652dhcp_handle_ack()
dhcp.c:660dhcp_handle_ack()
dhcp.c:675dhcp_handle_ack()
ip_addr_set_ip4_u32_val(dns_addr, lwip_htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_DNS_SERVER + n)));
dhcp.c:916dhcp_arp_reply()
dhcp.c:950dhcp_decline()
options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offered_ip_addr)));
dhcp.c:992dhcp_discover()
dhcp.c:1104dhcp_bind()
dhcp.c:1107dhcp_bind()
u8_t first_octet = ip4_addr1(&dhcp->offered_ip_addr);
dhcp.c:1109dhcp_bind()
ip4_addr_set_u32(&sn_mask, PP_HTONL(0xff000000UL));
dhcp.c:1111dhcp_bind()
ip4_addr_set_u32(&sn_mask, PP_HTONL(0xffffff00UL));
dhcp.c:1113dhcp_bind()
ip4_addr_set_u32(&sn_mask, PP_HTONL(0xffff0000UL));
dhcp.c:1117dhcp_bind()
dhcp.c:1119dhcp_bind()
if (ip4_addr_isany_val(gw_addr)) {
dhcp.c:1121dhcp_bind()
ip4_addr_get_network(&gw_addr, &dhcp->offered_ip_addr, &sn_mask);
dhcp.c:1123dhcp_bind()
ip4_addr_set_u32(&gw_addr, ip4_addr_get_u32(&gw_addr) | PP_HTONL(0x00000001UL));
dhcp.c:1280dhcp_reboot()
options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offered_ip_addr)));
dhcp.c:1334dhcp_release_and_stop()
ip_addr_copy(server_ip_addr, dhcp->server_ip_addr);
dhcp.c:1337dhcp_release_and_stop()
dhcp.c:1338dhcp_release_and_stop()
dhcp.c:1339dhcp_release_and_stop()
dhcp.c:1340dhcp_release_and_stop()
dhcp.c:1356dhcp_release_and_stop()
options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(ip_2_ip4(&server_ip_addr))));
dhcp.c:1937dhcp_create_msg()
dns.c:625dns_lookup()
ip_addr_copy(*addr, dns_table[i].ipaddr);
dns.c:763dns_send()
if (ip_addr_isany_val(dns_servers[entry->server_idx])
dns.c:1029dns_backupserver_available()
if ((pentry->server_idx + 1 < DNS_MAX_SERVERS) && !ip_addr_isany_val(dns_servers[pentry->server_idx + 1])) {
dns.c:1221dns_recv()
if (!ip_addr_cmp(addr, &dns_servers[entry->server_idx])) {
dns.c:1296dns_recv()
ip_addr_copy_from_ip4(dns_table[i].ipaddr, ip4addr);
dns.c:1621dns_gethostbyname_addrtype()
if (ip_addr_isany_val(dns_servers[0])) {
etharp.c:294etharp_find_entry()
etharp.c:394etharp_find_entry()
etharp.c:431etharp_update_arp_entry()
etharp.c:432etharp_update_arp_entry()
etharp.c:433etharp_update_arp_entry()
etharp.c:682etharp_input()
etharp.c:686etharp_input()
for_us = (u8_t)ip4_addr_cmp(&dipaddr, netif_ip4_addr(netif));
etharp.c:715etharp_input()
etharp.c:806etharp_output()
etharp.c:810etharp_output()
etharp.c:815etharp_output()
mcastaddr.addr[3] = ip4_addr2(ipaddr) & 0x7f;
etharp.c:816etharp_output()
mcastaddr.addr[4] = ip4_addr3(ipaddr);
etharp.c:817etharp_output()
mcastaddr.addr[5] = ip4_addr4(ipaddr);
etharp.c:825etharp_output()
etharp.c:826etharp_output()
etharp.c:844etharp_output()
etharp.c:865etharp_output()
etharp.c:882etharp_output()
(ip4_addr_cmp(dst_addr, &arp_table[i].ipaddr))) {
etharp.c:942etharp_query()
etharp.c:943etharp_query()
etharp.c:944etharp_query()
icmp.c:121icmp_input()
icmp.c:131icmp_input()
icmp.c:213icmp_input()
ip4_addr_copy(iphdr->src, *src);
icmp.c:214icmp_input()
icmp.c:380icmp_send_response()
ip4_addr_copy(iphdr_src, iphdr->src);
inet_chksum.c:316inet_chksum_pseudo()
inet_chksum.c:319inet_chksum_pseudo()
inet_chksum.c:462inet_chksum_pseudo_partial()
inet_chksum.c:465inet_chksum_pseudo_partial()
ip4.c:172ip4_route()
if (netif_is_up(netif) && netif_is_link_up(netif) && !ip4_addr_isany_val(*netif_ip4_addr(netif))) {
ip4.c:174ip4_route()
ip4.c:179ip4_route()
if (((netif->flags & NETIF_FLAG_BROADCAST) == 0) && ip4_addr_cmp(dest, netif_ip4_gw(netif))) {
ip4.c:217ip4_route()
ip4.c:383ip4_input_accept()
ip4.c:385ip4_input_accept()
ip4.c:387ip4_input_accept()
ip4.c:515ip4_input()
ip4.c:516ip4_input()
ip4.c:519ip4_input()
ip4.c:534ip4_input()
ip4.c:551ip4_input()
ip4.c:599ip4_input()
ip4.c:604ip4_input()
ip4.c:605ip4_input()
ip4.c:732ip4_input()
ip4.c:733ip4_input()
ip4.c:755ip4_input()
ip4.c:756ip4_input()
ip4.c:809ip4_output_if()
ip4.c:914ip4_output_if_src()
ip4.c:937ip4_output_if_src()
ip4.c:940ip4_output_if_src()
ip4_addr_copy(iphdr->src, *src);
ip4.c:974ip4_output_if_src()
ip4_addr_copy(dest_addr, iphdr->dest);
ip4_addr.c:61ip4_addr_isbroadcast_u32()
ip4_addr.c:73ip4_addr_isbroadcast_u32()
ip4_addr.c:76ip4_addr_isbroadcast_u32()
ip4_addr.c:78ip4_addr_isbroadcast_u32()
ip4_addr.c:79ip4_addr_isbroadcast_u32()
ip4_addr.c:128ipaddr_addr()
return ip4_addr_get_u32(&val);
ip4_addr.c:253ip4addr_aton()
ip4_addr.c:294ip4addr_ntoa_r()
netdb.c:345lwip_getaddrinfo()
ip_addr_set_any_val(ai_family == AF_INET6, addr);
netdb.c:347lwip_getaddrinfo()
ip_addr_set_loopback_val(ai_family == AF_INET6, addr);
netdb.c:386lwip_getaddrinfo()
inet_addr_from_ip4addr(&sa4->sin_addr, ip_2_ip4(&addr));
netif.c:310netif_add()
netif.c:311netif_add()
netif.c:312netif_add()
netif.c:463netif_do_set_ipaddr()
netif.c:468netif_do_set_ipaddr()
netif.c:476netif_do_set_ipaddr()
netif.c:526netif_do_set_netmask()
netif.c:535netif_do_set_netmask()
netif.c:590netif_do_set_gw()
netif.c:598netif_do_set_gw()
netif.c:688netif_set_addr()
netif.c:752netif_remove()
netif.c:887netif_issue_reports()
sockets.c:698lwip_accept()
IPADDR_PORT_TO_SOCKADDR(&tempaddr, &naddr, port);
sockets.c:743lwip_bind()
SOCKADDR_TO_IPADDR_PORT(name, &local_addr, local_port);
sockets.c:843lwip_connect()
SOCKADDR_TO_IPADDR_PORT(name, &remote_addr, remote_port);
sockets.c:1043lwip_sock_make_addr()
IPADDR_PORT_TO_SOCKADDR(&saddr, fromaddr, port);
sockets.c:1483lwip_sendmsg()
SOCKADDR_TO_IPADDR_PORT((const struct sockaddr *)msg->msg_name, &chain_buf.addr, remote_port);
sockets.c:1630lwip_sendto()
SOCKADDR_TO_IPADDR_PORT(to, &buf.addr, remote_port);
sockets.c:1633lwip_sendto()
ip_addr_set_any(NETCONNTYPE_ISIPV6(netconn_type(sock->conn)), &buf.addr);
sockets.c:2730lwip_getaddrname()
IPADDR_PORT_TO_SOCKADDR(&saddr, &naddr, port);
tcp.c:728tcp_bind()
tcp.c:729tcp_bind()
tcp.c:730tcp_bind()
tcp.c:739tcp_bind()
tcp.c:744tcp_bind()
tcp.c:873tcp_listen_with_backlog_and_err()
ip_addr_cmp(&lpcb->local_ip, &pcb->local_ip)) {
tcp.c:898tcp_listen_with_backlog_and_err()
tcp.c:1083tcp_connect()
tcp.c:1098tcp_connect()
tcp.c:1103tcp_connect()
ip_addr_copy(pcb->local_ip, *local_ip);
tcp.c:1133tcp_connect()
ip_addr_cmp(&cpcb->local_ip, &pcb->local_ip) &&
tcp.c:1134tcp_connect()
ip_addr_cmp(&cpcb->remote_ip, ipaddr)) {
tcp.c:2308tcp_netif_ip_addr_changed_pcblist()
tcp.c:2335tcp_netif_ip_addr_changed()
tcp.c:2339tcp_netif_ip_addr_changed()
tcp.c:2343tcp_netif_ip_addr_changed()
if (ip_addr_cmp(&lpcb->local_ip, old_addr)) {
tcp.c:2346tcp_netif_ip_addr_changed()
tcp_in.c:153tcp_input()
tcp_in.c:154tcp_input()
tcp_in.c:264tcp_input()
tcp_in.c:265tcp_input()
tcp_in.c:297tcp_input()
tcp_in.c:298tcp_input()
tcp_in.c:336tcp_input()
tcp_in.c:339tcp_input()
} else if (ip_addr_isany(&lpcb->local_ip)) {
tcp_in.c:676tcp_listen_input()
tcp_in.c:677tcp_listen_input()
tcp_out.c:1296tcp_output()
tcp_out.c:1301tcp_output()
ip_addr_copy(pcb->local_ip, *local_ip);
udp.c:164udp_input_local_match()
udp.c:165udp_input_local_match()
udp.c:166udp_input_local_match()
udp.c:173udp_input_local_match()
udp.c:229udp_input()
udp.c:269udp_input()
} else if (broadcast && ip4_current_dest_addr()->addr == IPADDR_BROADCAST) {
udp.c:271udp_input()
if (!IP_IS_V4_VAL(uncon_pcb->local_ip) || !ip4_addr_cmp(ip_2_ip4(&uncon_pcb->local_ip), netif_ip4_addr(inp))) {
udp.c:273udp_input()
if (IP_IS_V4_VAL(pcb->local_ip) && ip4_addr_cmp(ip_2_ip4(&pcb->local_ip), netif_ip4_addr(inp))) {
udp.c:281udp_input()
else if (!ip_addr_isany(&pcb->local_ip)) {
udp.c:290udp_input()
udp.c:291udp_input()
udp.c:324udp_input()
udp.c:416udp_input()
if (!broadcast && !ip_addr_ismulticast(ip_current_dest_addr())) {
udp.c:673udp_sendto_if()
udp.c:674udp_sendto_if()
udp.c:681udp_sendto_if()
udp.c:1001udp_bind()
udp.c:1002udp_bind()
udp.c:1013udp_bind()
udp.c:1087udp_connect()
udp.c:1138udp_disconnect()
ip_addr_set_any(IP_IS_V6_VAL(pcb->remote_ip), &pcb->remote_ip);
udp.c:1282udp_netif_ip_addr_changed()
udp.c:1285udp_netif_ip_addr_changed()
if (ip_addr_cmp(&upcb->local_ip, old_addr)) {
udp.c:1288udp_netif_ip_addr_changed()

Data Use

Functions writing ip4_addr::addr
Functions reading ip4_addr::addr
ip4_addr::addr
Type of ip4_addr::addr
ip4_addr::addr
all items filtered out