Lines Matching full:address
12 # An initial set of Protocol to Hardware address mappings.
14 # Broadcast address:
27 a single IPv4 address.
33 @param hw_addr: Hex or binary representation of the Ethernet address.
34 @param ip_addr: The IPv4 address. For example: "10.0.0.1".
41 # arp cache: Protocol to Hardware address resolution cache.
62 """Returns the host IPv4 address."""
83 tpa = pkt.arp.spa, # Target Protocol Address.
84 tha = pkt.arp.sha, # Target Hardware Address.
85 spa = self._bin_ip_addr, # Source Protocol Address.
86 sha = self._bin_hw_addr) # Source Hardware Address.
101 @param hw_addr: The network encoded corresponding Ethernet address.
102 @param ip_addr: The network encoded IPv4 address.
108 """Resolves the hw_addr of an IP address locally when it is known.
114 @param ip_addr: The IP address to resolve encoded in network format.
115 @return: The Hardware address encoded in network format or None
117 @raise SimpleHostError if the MAC address for ip_addr is unknown.
120 # An IP host group address is mapped to an Ethernet multicast address
121 # by placing the low-order 23-bits of the IP address into the low-order
122 # 23 bits of the Ethernet multicast address 01-00-5E-00-00-00 (hex).
123 # Because there are 28 significant bits in an IP host group address,
124 # more than one host group address may map to the same Ethernet
125 # multicast address.
127 if int_ip_addr & 0xF0000000 == 0xE0000000: # Multicast IP address
132 # No address found.
139 The source IP address and the hardware layer is automatically filled.
141 @raise SimpleHostError if the MAC address for ip_addr is unknown.
165 @param dest_addr: A host IP address on the same network in plain text.
289 address is used, for example '224.0.0.251' or '192.168.0.1'.
292 arguments, the received string, the sender IPv4 address and the
313 @param ip_addr: Destination IPv4 address.