/barrelfish-master/include/lwip2/lwip/ |
H A D | ip6_addr.h | 66 #define IP6_ADDR_PART(ip6addr, index, a,b,c,d) \ 67 (ip6addr)->addr[index] = PP_HTONL(LWIP_MAKEU32(a,b,c,d)) 71 #define IP6_ADDR(ip6addr, idx0, idx1, idx2, idx3) do { \ 72 (ip6addr)->addr[0] = idx0; \ 73 (ip6addr)->addr[1] = idx1; \ 74 (ip6addr)->addr[2] = idx2; \ 75 (ip6addr)->addr[3] = idx3; } while(0) 78 #define IP6_ADDR_BLOCK1(ip6addr) ((u16_t)((lwip_htonl((ip6addr)->addr[0]) >> 16) & 0xffff)) 80 #define IP6_ADDR_BLOCK2(ip6addr) ((u16_ [all...] |
H A D | ethip6.h | 60 err_t ethip6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr);
|
H A D | nd6.h | 67 struct netif *nd6_find_route(const ip6_addr_t *ip6addr); 68 err_t nd6_get_next_hop_addr_or_queue(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr, const u8_t **hwaddrp); 69 u16_t nd6_get_destination_mtu(const ip6_addr_t *ip6addr, struct netif *netif); 71 void nd6_reachability_hint(const ip6_addr_t *ip6addr);
|
H A D | ip_addr.h | 84 /** @ingroup ip6addr */ 86 /** @ingroup ip6addr */ 96 /** @ingroup ip6addr */ 100 /** @ingroup ip6addr */ 110 /** @ingroup ip6addr 122 /** @ingroup ip6addr */ 125 /** @ingroup ip6addr */ 132 /** @ingroup ip6addr */ 156 /** @ingroup ip6addr */ 225 #define ip4_2_ipv4_mapped_ipv6(ip6addr, ip4add [all...] |
H A D | netif.h | 458 s8_t netif_get_ip6_addr_match(struct netif *netif, const ip6_addr_t *ip6addr); 460 err_t netif_add_ip6_address(struct netif *netif, const ip6_addr_t *ip6addr, s8_t *chosen_idx);
|
/barrelfish-master/lib/lwip2/src/core/ipv6/ |
H A D | ethip6.c | 73 * @param ip6addr The IP address of the packet destination. 79 ethip6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) argument 86 if (ip6_addr_ismulticast(ip6addr)) { 90 dest.addr[2] = ((const u8_t *)(&(ip6addr->addr[3])))[0]; 91 dest.addr[3] = ((const u8_t *)(&(ip6addr->addr[3])))[1]; 92 dest.addr[4] = ((const u8_t *)(&(ip6addr->addr[3])))[2]; 93 dest.addr[5] = ((const u8_t *)(&(ip6addr->addr[3])))[3]; 103 result = nd6_get_next_hop_addr_or_queue(netif, q, ip6addr, &hwaddr);
|
H A D | nd6.c | 96 static s8_t nd6_find_neighbor_cache_entry(const ip6_addr_t *ip6addr); 99 static s8_t nd6_find_destination_cache_entry(const ip6_addr_t *ip6addr); 101 static s8_t nd6_is_prefix_in_netif(const ip6_addr_t *ip6addr, struct netif *netif); 102 static s8_t nd6_select_router(const ip6_addr_t *ip6addr, struct netif *netif); 107 static s8_t nd6_get_next_hop_entry(const ip6_addr_t *ip6addr, struct netif *netif); 1122 * @param ip6addr the IPv6 address of the neighbor 1127 nd6_find_neighbor_cache_entry(const ip6_addr_t *ip6addr) argument 1131 if (ip6_addr_cmp(ip6addr, &(neighbor_cache[i].next_hop_address))) { 1281 * @param ip6addr the IPv6 address of the destination 1286 nd6_find_destination_cache_entry(const ip6_addr_t *ip6addr) argument 1352 nd6_is_prefix_in_netif(const ip6_addr_t *ip6addr, struct netif *netif) argument 1381 nd6_select_router(const ip6_addr_t *ip6addr, struct netif *netif) argument 1442 nd6_find_route(const ip6_addr_t *ip6addr) argument 1609 nd6_get_next_hop_entry(const ip6_addr_t *ip6addr, struct netif *netif) argument 1930 nd6_get_next_hop_addr_or_queue(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr, const u8_t **hwaddrp) argument 1971 nd6_get_destination_mtu(const ip6_addr_t *ip6addr, struct netif *netif) argument 2001 nd6_reachability_hint(const ip6_addr_t *ip6addr) argument [all...] |
/barrelfish-master/include/netinet/ |
H A D | if_ether.h | 60 #define ETHER_MAP_IPV6_MULTICAST(ip6addr, enaddr) \ 61 /* struct in6_addr *ip6addr; */ \ 66 (enaddr)[2] = ((const u_char *)ip6addr)[12]; \ 67 (enaddr)[3] = ((const u_char *)ip6addr)[13]; \ 68 (enaddr)[4] = ((const u_char *)ip6addr)[14]; \ 69 (enaddr)[5] = ((const u_char *)ip6addr)[15]; \
|
/barrelfish-master/include/lwip2/netif/ |
H A D | lowpan6.h | 69 err_t lowpan6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr);
|
/barrelfish-master/lib/lwip2/src/netif/ |
H A D | lowpan6.c | 143 lowpan6_context_lookup(const ip6_addr_t *ip6addr) argument 148 if (ip6_addr_netcmp(&lowpan6_context[i], ip6addr)) { 158 lowpan6_get_address_mode(const ip6_addr_t *ip6addr, const struct ieee_802154_addr *mac_addr) argument 161 if ((ip6addr->addr[2] == (u32_t)PP_HTONL(0x000000ff)) && 162 ((ip6addr->addr[3] & PP_HTONL(0xffff0000)) == PP_NTOHL(0xfe000000))) { 163 if ((ip6addr->addr[3] & PP_HTONL(0x0000ffff)) == lwip_ntohl((mac_addr->addr[0] << 8) | mac_addr->addr[1])) { 168 if ((ip6addr->addr[2] == lwip_ntohl(((mac_addr->addr[0] ^ 2) << 24) | (mac_addr->addr[1] << 16) | mac_addr->addr[2] << 8 | mac_addr->addr[3])) && 169 (ip6addr->addr[3] == lwip_ntohl((mac_addr->addr[4] << 24) | (mac_addr->addr[5] << 16) | mac_addr->addr[6] << 8 | mac_addr->addr[7]))) { 174 if ((ip6addr->addr[2] == PP_HTONL(0x000000ffUL)) && 175 ((ip6addr 184 lowpan6_get_address_mode_mc(const ip6_addr_t *ip6addr) argument 617 lowpan6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) argument [all...] |
/barrelfish-master/lib/lwip2/src/core/ |
H A D | netif.c | 1145 * @param ip6addr the IPv6 address to find 1150 netif_get_ip6_addr_match(struct netif *netif, const ip6_addr_t *ip6addr) argument 1155 ip6_addr_cmp(netif_ip6_addr(netif, i), ip6addr)) { 1221 * @param ip6addr address to add 1225 netif_add_ip6_address(struct netif *netif, const ip6_addr_t *ip6addr, s8_t *chosen_idx) argument 1229 i = netif_get_ip6_addr_match(netif, ip6addr); 1241 ip_addr_copy_from_ip6(netif->ip6_addr[i], *ip6addr);
|
H A D | dns.c | 1253 ip6_addr_t ip6addr; local 1255 if (pbuf_copy_partial(p, &ip6addr, sizeof(ip6_addr_t), res_idx) != sizeof(ip6_addr_t)) { 1258 ip_addr_copy_from_ip6(dns_table[i].ipaddr, ip6addr);
|