Lines Matching full:address

3  * Address Resolution Protocol module for IP over Ethernet
5 * Functionally, ARP is divided into two parts. The first maps an IP address
6 * to a physical address when sending a packet, and the second part answers
7 * requests from other machines for our physical address.
11 * if an interface calls etharp_gratuitous(our_netif) upon address change.
126 /** Try hard to create a new entry - we want the IP address to appear in
247 * If an IP address is given, return a pending or stable ARP entry that matches
248 * the address. If no match is found, create a new entry with this address set,
258 * @param ipaddr IP address to find in ARP cache, or to add if not found.
260 * @param netif netif related to this address (used for NETIF_HWADDRHINT)
301 /* if given, does IP address match IP address in ARP entry? */ in etharp_find_entry()
304 /* found exact IP address match, simply bail out */ in etharp_find_entry()
395 /* IP address given? */ in etharp_find_entry()
397 /* set IP address */ in etharp_find_entry()
410 * @params src the source MAC address to be copied into the ethernet header
411 * @params dst the destination MAC address to be copied into the ethernet header
430 * Update (or insert) a IP/MAC address pair in the ARP cache.
436 * @param ipaddr IP address of the inserted ARP entry.
437 * @param ethaddr Ethernet address of the inserted ARP entry.
443 * - ERR_ARG Non-unicast address given, those will not appear in ARP cache.
456 /* non-unicast address? */
460 …| LWIP_DBG_TRACE, ("etharp_update_arp_entry: will not add non-unicast IP address to ARP cache\n"));
487 /* update address */
518 * specified IP address, this entry is overwritten.
519 * If packets are queued for the specified IP address, they are sent out.
521 * @param ipaddr IP address for the new static entry
522 * @param ethaddr ethernet address for the new static entry
545 * @param ipaddr IP address of the static entry to remove
592 * Finds (stable) ethernet/IP address pair from ARP table
593 * using interface and IP address index.
597 * @param ipaddr points to the (network order) IP address index
626 * Uses the incoming IP packet's source address to update the
646 /* Only insert an entry if the source IP address of the
665 /* update the source IP address in the cache, if present */
667 * back soon (for example, if the destination IP address is ours. */
674 * send out queued IP packets. Updates cache with snooped address pairs.
680 * @param ethaddr Ethernet address of netif.
738 * created link local address and continously check if there is
739 * a host with this IP-address so we can detect collisions */
757 -> add IP address in ARP cache; assume requester wants to talk to us,
760 -> update the source IP address in the cache, if present */
768 /* ARP request. If it asked for our address, we send out a
773 /* ARP request for our address? */
776 …ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_arp_input: replying to ARP request for our IP address\n"));
789 * 'sender IP address' MUST be sent using link-layer broadcast instead of
823 * IP address also offered to us by the DHCP server. We do not
824 * want to take a duplicate IP address on a single network.
838 /** Just a small helper function that sends a pbuf to an ethernet address
848 network with ARP requests if this address is used frequently. */
861 * Resolve and fill-in Ethernet address header for outgoing IP packet.
867 * case the IP address is outside the local network, the IP address of
872 * @param ipaddr The IP address of the packet destination.
898 /* Determine on destination hardware address. Broadcasts and multicasts
901 /* broadcast destination IP address? */
905 /* multicast destination IP address? */
907 /* Hash IP multicast address to MAC address.*/
914 /* destination Ethernet address is multicast */
916 /* unicast destination IP address? */
927 a link-local source address must always be "directly to its destination
935 /* send to hardware address of default gateway IP address */
972 queue on destination Ethernet address belonging to ipaddr */
977 /* obtain source Ethernet address of the given interface */
983 * Send an ARP request for the given IP address and/or queue a packet.
985 * If the IP address was not yet in the cache, a pending ARP cache entry
986 * is added and an ARP request is sent for the given address. The packet
989 * If the IP address was already pending in the cache, a new ARP request
990 * is sent for the given address. The packet is queued on this entry.
992 * If the IP address was already stable in the cache, and a packet is
995 * If the IP address was already stable in the cache, and no packet is
1000 * @param ipaddr The IP address to be resolved.
1001 * @param q If non-NULL, a pbuf that must be delivered to the IP address.
1008 * - ERR_MEM Hardware address unknown, and no more ARP entries available
1009 * to query for address or queue the packet.
1012 * - ERR_ARG Non-unicast address given, those will not appear in ARP cache.
1022 /* non-unicast address? */
1026 …LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_query: will not add non-unicast IP address to …
1072 /* we have a valid IP->Ethernet address mapping */
1160 * @param ethsrc_addr the source MAC address for the ethernet header
1161 * @param ethdst_addr the destination MAC address for the ethernet header
1162 * @param hwsrc_addr the source MAC address for the ARP protocol header
1163 * @param ipsrc_addr the source IP address for the ARP protocol header
1164 * @param hwdst_addr the destination MAC address for the ARP protocol header
1165 * @param ipdst_addr the destination IP address for the ARP protocol header
1212 * 'sender IP address' MUST be sent using link-layer broadcast instead of
1253 * @param ipaddr the IP address for which to ask