Home
last modified time | relevance | path

Searched refs:ip6_addr_t (Results 1 – 25 of 38) sorted by relevance

12

/third_party/lwip/src/include/lwip/
Dip6.h61 struct netif *ip6_route(const ip6_addr_t *src, const ip6_addr_t *dest, struct net_group *group);
63 struct netif *ip6_route(const ip6_addr_t *src, const ip6_addr_t *dest);
65 const ip_addr_t *ip6_select_source_address(struct netif *netif, const ip6_addr_t * dest);
67 err_t ip6_output(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
69 err_t ip6_output_if(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
71 err_t ip6_output_if_src(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
74 err_t ip6_output_hinted(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
Dmld6.h62 ip6_addr_t group_address;
78 struct mld_group *mld6_lookfor_group(struct netif *ifp, const ip6_addr_t *addr);
80 err_t mld6_joingroup(const ip6_addr_t *srcaddr, const ip6_addr_t *groupaddr);
81 err_t mld6_joingroup_netif(struct netif *netif, const ip6_addr_t *groupaddr);
82 err_t mld6_leavegroup(const ip6_addr_t *srcaddr, const ip6_addr_t *groupaddr);
83 err_t mld6_leavegroup_netif(struct netif *netif, const ip6_addr_t *groupaddr);
Dnd6.h72 struct netif *nd6_find_route(const ip6_addr_t *ip6addr);
73 err_t nd6_get_next_hop_addr_or_queue(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr…
74 u16_t nd6_get_destination_mtu(const ip6_addr_t *ip6addr, struct netif *netif);
76 void nd6_reachability_hint(const ip6_addr_t *ip6addr);
Dinet_chksum.h89 const ip6_addr_t *src, const ip6_addr_t *dest);
91 u16_t chksum_len, const ip6_addr_t *src, const ip6_addr_t *dest);
Dicmp6.h61 const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr);
Dinet.h158 #define inet6_aton(cp, addr) ip6addr_aton(cp, (ip6_addr_t*)addr)
159 #define inet6_ntoa(addr) ip6addr_ntoa((const ip6_addr_t*)&(addr))
160 #define inet6_ntoa_r(addr, buf, buflen) ip6addr_ntoa_r((const ip6_addr_t*)&(addr), buf, buflen)
Dnetif.h206 const ip6_addr_t *ipaddr);
226 const ip6_addr_t *group, enum netif_mac_filter_action action);
550 #define netif_ip6_addr(netif, i) ((const ip6_addr_t*)ip_2_ip6(&((netif)->ip6_addr[i])))
551 void netif_ip6_addr_set(struct netif *netif, s8_t addr_idx, const ip6_addr_t *addr6);
555 s8_t netif_get_ip6_addr_match(struct netif *netif, const ip6_addr_t *ip6addr);
557 err_t netif_add_ip6_address(struct netif *netif, const ip6_addr_t *ip6addr, s8_t *chosen_idx);
Dip6_addr.h67 typedef struct ip6_addr ip6_addr_t; typedef
339 int ip6addr_aton(const char *cp, ip6_addr_t *addr);
341 char *ip6addr_ntoa(const ip6_addr_t *addr);
342 char *ip6addr_ntoa_r(const ip6_addr_t *addr, char *buf, int buflen);
Dethip6.h60 err_t ethip6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr);
Dip_addr.h71 ip6_addr_t ip6;
108 …IZE(ipaddr) (IP_GET_TYPE(&ipaddr) == IPADDR_TYPE_V4 ? sizeof(ip4_addr_t) : sizeof(ip6_addr_t))
318 typedef ip6_addr_t ip_addr_t;
329 #define IP_ADDR_RAW_SIZE(ipaddr) sizeof(ip6_addr_t)
/third_party/lwip/src/core/ipv6/
Dicmp6.c68 u8_t type, const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr);
70 u8_t type, const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr, struct netif *netif);
87 const ip6_addr_t *reply_src; in icmp6_input()
274 const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr) in icmp6_time_exceeded_with_addrs()
347 const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr) in icmp6_send_response_with_addrs()
390 const ip6_addr_t *reply_src, const ip6_addr_t *reply_dest, struct netif *netif) in icmp6_send_response_with_addrs_and_netif()
Dmld6.c84 static struct mld_group *mld6_new_group(struct netif *ifp, const ip6_addr_t *addr);
144 mld6_lookfor_group(struct netif *ifp, const ip6_addr_t *addr) in mld6_lookfor_group()
168 mld6_new_group(struct netif *ifp, const ip6_addr_t *addr) in mld6_new_group()
315 mld6_joingroup(const ip6_addr_t *srcaddr, const ip6_addr_t *groupaddr)
351 mld6_joingroup_netif(struct netif *netif, const ip6_addr_t *groupaddr)
355 ip6_addr_t ip6addr;
408 mld6_leavegroup(const ip6_addr_t *srcaddr, const ip6_addr_t *groupaddr)
445 mld6_leavegroup_netif(struct netif *netif, const ip6_addr_t *groupaddr)
449 ip6_addr_t ip6addr;
608 const ip6_addr_t *src_addr;
Dnd6.c91 static ip6_addr_t multicast_address;
107 static s8_t nd6_find_neighbor_cache_entry(const ip6_addr_t *ip6addr);
110 static s16_t nd6_find_destination_cache_entry(const ip6_addr_t *ip6addr);
112 static int nd6_is_prefix_in_netif(const ip6_addr_t *ip6addr, struct netif *netif);
113 static s8_t nd6_select_router(const ip6_addr_t *ip6addr, struct netif *netif);
114 static s8_t nd6_get_router(const ip6_addr_t *router_addr, struct netif *netif);
115 static s8_t nd6_new_router(const ip6_addr_t *router_addr, struct netif *netif);
116 static s8_t nd6_get_onlink_prefix(const ip6_addr_t *prefix, struct netif *netif);
117 static s8_t nd6_new_onlink_prefix(const ip6_addr_t *prefix, struct netif *netif);
118 static s8_t nd6_get_next_hop_entry(const ip6_addr_t *ip6addr, struct netif *netif);
[all …]
Dip6.c87 ip6_route(const ip6_addr_t *src, const ip6_addr_t *dest, struct net_group *group)
89 ip6_route(const ip6_addr_t *src, const ip6_addr_t *dest)
335 ip6_select_source_address(struct netif *netif, const ip6_addr_t *dest)
338 const ip6_addr_t *cand_addr;
1209 ip6_output_if(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
1213 const ip6_addr_t *src_used = src;
1233 ip6_output_if_src(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
1238 ip6_addr_t dest_addr;
1351 ip6_output(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
1356 ip6_addr_t src_addr, dest_addr;
[all …]
Dip6_addr.c71 ip6addr_aton(const char *cp, ip6_addr_t *addr)
206 ip6addr_ntoa(const ip6_addr_t *addr) in ip6addr_ntoa()
222 ip6addr_ntoa_r(const ip6_addr_t *addr, char *buf, int buflen) in ip6addr_ntoa_r()
Dethip6.c79 ethip6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) in ethip6_output()
/third_party/lwip/src/include/lwip/priv/
Dnd6_priv.h72 ip6_addr_t next_hop_address;
94 ip6_addr_t destination_addr;
95 ip6_addr_t next_hop_addr;
101 ip6_addr_t prefix;
/third_party/lwip/src/include/netif/
Dlowpan6_common.h66 s8_t lowpan6_get_address_mode(const ip6_addr_t *ip6addr, const struct lowpan6_link_addr *mac_addr);
70 … u8_t *lowpan6_header_len_out, u8_t *hidden_header_len_out, ip6_addr_t *lowpan6_contexts,
72 struct pbuf *lowpan6_decompress(struct pbuf *p, u16_t datagram_size, ip6_addr_t *lowpan6_contexts,
Dlowpan6.h67 err_t lowpan6_set_context(u8_t idx, const ip6_addr_t * context);
73 err_t lowpan6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr);
Dlowpan6_ble.h56 err_t rfc7668_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr);
62 err_t rfc7668_set_context(u8_t index, const ip6_addr_t * context);
/third_party/lwip/test/unit/ip6/
Dtest_ip6.c148 ip6_addr_t addr6; in START_TEST()
258 fail_unless(!memcmp(netif_ip6_addr(&test_netif6, 0), zeros, sizeof(ip6_addr_t))); in START_TEST()
271 memset(&test_netif6.ip6_addr[0], 0, sizeof(ip6_addr_t)); in START_TEST()
282 memset(&test_netif6.ip6_addr[0], 0, sizeof(ip6_addr_t)); in START_TEST()
/third_party/lwip/src/netif/
Dlowpan6_common.c65 lowpan6_get_address_mode(const ip6_addr_t *ip6addr, const struct lowpan6_link_addr *mac_addr) in lowpan6_get_address_mode()
93 lowpan6_get_address_mode_mc(const ip6_addr_t *ip6addr) in lowpan6_get_address_mode_mc()
115 lowpan6_context_lookup(const ip6_addr_t *lowpan6_contexts, const ip6_addr_t *ip6addr) in lowpan6_context_lookup()
133 … u8_t *lowpan6_header_len_out, u8_t *hidden_header_len_out, ip6_addr_t *lowpan6_contexts, in lowpan6_compress_headers()
395 ip6_addr_t *lowpan6_contexts, in lowpan6_decompress_hdr()
779 lowpan6_decompress(struct pbuf *p, u16_t datagram_size, ip6_addr_t *lowpan6_contexts, in lowpan6_decompress()
Dlowpan6_ble.c87 static ip6_addr_t rfc7668_context[LWIP_6LOWPAN_NUM_CONTEXTS];
300 rfc7668_set_context(u8_t idx, const ip6_addr_t *context) in rfc7668_set_context()
328 rfc7668_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) in rfc7668_output()
/third_party/lwip/src/core/
Dinet_chksum.c344 const ip6_addr_t *src, const ip6_addr_t *dest) in ip6_chksum_pseudo()
492 u16_t chksum_len, const ip6_addr_t *src, const ip6_addr_t *dest) in ip6_chksum_pseudo_partial()
Dnetif.c130 static err_t netif_null_output_ip6(struct netif *netif, struct pbuf *p, const ip6_addr_t *ipaddr);
141 static err_t netif_loop_output_ipv6(struct netif *netif, struct pbuf *p, const ip6_addr_t *addr);
1322 netif_loop_output_ipv6(struct netif *netif, struct pbuf *p, const ip6_addr_t *addr)
1458 netif_ip6_addr_set(struct netif *netif, s8_t addr_idx, const ip6_addr_t *addr6)
1608 netif_get_ip6_addr_match(struct netif *netif, const ip6_addr_t *ip6addr)
1709 netif_add_ip6_address(struct netif *netif, const ip6_addr_t *ip6addr, s8_t *chosen_idx)
1749 netif_null_output_ip6(struct netif *netif, struct pbuf *p, const ip6_addr_t *ipaddr)

12