/seL4-camkes-master/projects/lwip/src/core/ipv6/ |
H A D | ip6.c | 50 #include "lwip/ip6.h" 258 * @ingroup ip6 374 IP6_STATS_INC(ip6.rterr); 375 IP6_STATS_INC(ip6.drop); 397 IP6_STATS_INC(ip6.rterr); 398 IP6_STATS_INC(ip6.drop); 410 IP6_STATS_INC(ip6.rterr); 411 IP6_STATS_INC(ip6.drop); 419 IP6_STATS_INC(ip6.rterr); 420 IP6_STATS_INC(ip6 [all...] |
/seL4-camkes-master/projects/picotcp/test/unit/ |
H A D | modunit_pico_mld.c | 30 return memcmp(&a->ip6, &b->ip6, sizeof(struct pico_ip6)); 35 return memcmp(&a->ip6, &b->ip6, sizeof(struct pico_ip6)); 108 p.mcast_link.ip6 = addr; 165 test.mcast_link.ip6 = mcast_link; 166 test.mcast_group.ip6 = mcast_group; 212 pico_string_to_ipv6("AAAA::113", p->mcast_link.ip6.addr); 213 pico_string_to_ipv6("FF00::e007:707", p->mcast_group.ip6.addr); 216 link = pico_ipv6_link_add(dev, p->mcast_link.ip6, 451 struct pico_ipv6_hdr *ip6; local [all...] |
H A D | unit_ipv6.c | 352 pico_string_to_ipv6("ff00:0:0:0:0:0:e007:707", inaddr_dst.ip6.addr); 353 pico_string_to_ipv6("fe80:0:0:0:0:0:a28:2", inaddr_uni.ip6.addr); 354 pico_string_to_ipv6("ff00:0:0:0:0:0:e008:808", inaddr_incorrect.ip6.addr); 355 pico_string_to_ipv6("::", inaddr_null.ip6.addr); 357 pico_string_to_ipv6("fe80:0:0:0:0:0:a28:0001", inaddr_link[0].ip6.addr); /* 0 */ 358 pico_string_to_ipv6("fe80:0:0:0:0:0:a32:0001", inaddr_link[1].ip6.addr); /* 1 */ 360 pico_string_to_ipv6("ff00:0:0:0:0:0:e801:100", inaddr_mcast[0].ip6.addr); /* 0 */ 361 pico_string_to_ipv6("ff00:0:0:0:0:0:e802:201", inaddr_mcast[1].ip6.addr); /* 1 */ 362 pico_string_to_ipv6("ff00:0:0:0:0:0:e803:302", inaddr_mcast[2].ip6.addr); /* 2 */ 363 pico_string_to_ipv6("ff00:0:0:0:0:0:e803:403", inaddr_mcast[3].ip6 [all...] |
/seL4-camkes-master/projects/picotcp/modules/ |
H A D | pico_mld.c | 190 return pico_ipv6_compare(&a->mcast_group.ip6, &b->mcast_group.ip6); 194 return pico_ipv6_compare(&a->mcast_link.ip6, &b->mcast_link.ip6); 409 test.mcast_link.ip6 = *mcast_link; 410 test.mcast_group.ip6 = *mcast_group; 530 p->mcast_link.ip6 = *mcast_link; 531 p->mcast_group.ip6 = *mcast_group; 606 p->mcast_link.ip6 = link->address; 672 dev = pico_ipv6_link_find(&p->mcast_link.ip6); [all...] |
H A D | pico_socket_udp.c | 132 struct pico_device *dev = pico_ipv6_link_find(&s->local_addr.ip6); 142 if (pico_ipv6_is_unspecified(s->local_addr.ip6.addr) || /* If our local ip is ANY, or.. */ 162 s_local = s->local_addr.ip6; 171 else if (pico_ipv6_is_unspecified(s->local_addr.ip6.addr) || (pico_ipv6_compare(&s_local, &p_dst) == 0))
|
H A D | pico_udp.c | 77 pseudo.src = s->local_addr.ip6; 79 pseudo.dst = remote_endpoint->remote_addr.ip6; 81 pseudo.dst = s->remote_addr.ip6;
|
H A D | pico_socket_tcp.c | 158 s_local = s->local_addr.ip6; 159 s_remote = s->remote_addr.ip6;
|
H A D | pico_sntp_client.c | 81 .ip6.addr = { 0 } 280 retval = pico_string_to_ipv6(ip, address.ip6.addr); 450 retval6 = pico_ipv6_to_string(ck6->hostname, addr->ip6.addr);
|
H A D | pico_ipv6.c | 938 int pico_ipv6_is_null_address(struct pico_ip6 *ip6) argument 941 return !memcmp(ip6, &null_addr, sizeof(struct pico_ip6)); 960 return pico_ipv6_compare(&a->mcast_addr.ip6, &b->mcast_addr.ip6); 1049 test.mcast_addr.ip6 = *mcast_group; 1068 g->mcast_addr.ip6 = *mcast_group; 1106 test.mcast_addr.ip6 = *mcast_group; 1153 test.mcast_addr.ip6 = hdr->dst; 1437 dst = &remote_endpoint->remote_addr.ip6; 1439 dst = &f->sock->remote_addr.ip6; [all...] |
/seL4-camkes-master/projects/picotcp/test/examples/ |
H A D | tcpclient.c | 109 .ip4 = {0}, .ip6 = {{0}} 112 .ip4 = {0}, .ip6 = {{0}} 124 pico_string_to_ipv6(daddr, dst.ip6.addr); 174 ret = pico_socket_bind(s, &inaddr_any.ip6, &listen_port); 184 ret = pico_socket_connect(s, &dst.ip6, send_port);
|
H A D | multicast_ip6_recv.c | 30 {.ip6 = { 0xfe, 0x80, 0x00, 0x00, 0x00, 0, 0, 0, 0, 0, 0, 0, 0xac, 0x10, 0x01, 0 }}, 31 {.ip6 = { 0xfe, 0x80, 0x00, 0x00, 0x00, 0, 0, 0, 0, 0, 0, 0, 0xac, 0x10, 0x01, 0x10}}, 32 {.ip6 = { 0xfe, 0x80, 0x00, 0x00, 0x00, 0, 0, 0, 0, 0, 0, 0, 0xac, 0x10, 0x01, 0x01 }}, 33 {.ip6 = { 0xff, 0x00, 0x00, 0x00, 0x00, 0, 0, 0, 0, 0, 0, 0, 0xe0, 0x01, 0x01, 0x01 }}, 41 pico_string_to_ipv6(laddr, &inaddr_link.ip6.addr[0]); 53 pico_string_to_ipv6(maddr, &inaddr_mcast.ip6.addr[0]); 103 while(!pico_ipv6_link_get(&inaddr_link.ip6)) {
|
H A D | iperfc.c | 109 .ip4 = {0}, .ip6 = {{0}} 112 .ip4 = {0}, .ip6 = {{0}} 124 pico_string_to_ipv6(daddr, dst.ip6.addr);
|
H A D | tcpecho.c | 122 struct pico_ip6 ip6; member in union:__anon487 124 .ip4 = {0}, .ip6 = {{0}} 159 ret = pico_socket_bind(s, &inaddr_any.ip6, &listen_port);
|
H A D | udp_echo.c | 29 struct pico_ip6 ip6; member in union:__anon488 42 r = pico_socket_recvfrom(s, recvbuf, udpecho_pas->datasize, IPV6_MODE ? (void *)peer.ip6.addr : (void *)&peer.ip4.addr, &port); 54 pico_socket_sendto(s, recvbuf, r, IPV6_MODE ? (void *)peer.ip6.addr : (void *)&peer.ip4.addr, port);
|
H A D | tcpbench.c | 159 struct pico_ip6 ip6; member in union:__anon486 161 .ip4 = {0}, .ip6 = {{0}} 286 ret = pico_socket_bind(s, &inaddr_any.ip6, &port_be);
|
H A D | udp_client.c | 139 pico_string_to_ipv6(daddr, udpclient_pas->dst.ip6.addr); 247 ret = pico_socket_connect(udpclient_pas->s, &udpclient_pas->dst.ip6, udpclient_pas->sport);
|
/seL4-camkes-master/projects/picotcp/stack/ |
H A D | pico_socket_multicast.c | 75 int tmp = memcmp(&a->mcast_group.ip6, &b->mcast_group.ip6, sizeof(struct pico_ip6)); 122 return memcmp(&a->ip6, &b->ip6, sizeof(struct pico_ip6)); 157 return memcmp(&a->ip6, &b->ip6, sizeof(struct pico_ip6)); 478 if (memcmp(&src->ip6, &((union pico_address *)index->keyValue)->ip6, sizeof(struct pico_ip6))) { 480 pico_ipv6_to_string(tmp_string, src->ip6.addr); 515 if (memcmp(&src->ip6, [all...] |
H A D | pico_socket.c | 88 if ((memcmp(a->local_addr.ip6.addr, PICO_IP6_ANY, PICO_SIZE_IP6) == 0) || (memcmp(b->local_addr.ip6.addr, PICO_IP6_ANY, PICO_SIZE_IP6) == 0)) 91 ret = memcmp(a->local_addr.ip6.addr, b->local_addr.ip6.addr, PICO_SIZE_IP6); 119 ret = memcmp(a->remote_addr.ip6.addr, b->remote_addr.ip6.addr, PICO_SIZE_IP6); 864 src6 = &s->local_addr.ip6; 877 s->local_addr.ip6 = *src6; 974 memcpy(&ep->remote_addr.ip6, dst, sizeof(struct pico_ip6)); 1083 else if (IS_SOCK_IPV6(s) && ep && pico_ipv6_is_multicast(&ep->remote_addr.ip6 [all...] |
H A D | pico_stack.c | 303 struct pico_ip6 *ip6; local 319 ip6 = (struct pico_ip6 *) src; 320 memcpy(ip6->addr, hdr->src.addr, PICO_SIZE_IP6); 330 return pico_ipv6_compare(&a->ip6, &b->ip6);
|
/seL4-camkes-master/projects/picotcp/include/ |
H A D | pico_addressing.h | 25 struct pico_ip6 ip6; member in union:pico_address
|
/seL4-camkes-master/projects/picotcp/test/ |
H A D | picoapp.c | 93 .mcast_group_addr.ip6 = {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }}, 94 .mcast_link_addr.ip6 = {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }} 97 .mcast_group_addr.ip6 = {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }}, 98 .mcast_link_addr.ip6 = {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }}, 99 .mcast_source_addr.ip6 = {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }}
|
/seL4-camkes-master/projects/lwip/src/netif/ppp/ |
H A D | ppp.c | 99 #include "lwip/ip6.h" /* for ip6_input() */ 886 PPPDEBUG(LOG_INFO, ("ppp_input[%d]: ip6 in pbuf len=%d\n", pcb->netif->num, pb->tot_len)); 1229 #define IN6_LLADDR_FROM_EUI64(ip6, eui64) do { \ 1230 ip6.addr[0] = PP_HTONL(0xfe800000); \ 1231 ip6.addr[1] = 0; \ 1232 eui64_copy(eui64, ip6.addr[2]); \ 1240 ip6_addr_t ip6; local 1243 IN6_LLADDR_FROM_EUI64(ip6, our_eui64); 1244 netif_ip6_addr_set(pcb->netif, 0, &ip6);
|
/seL4-camkes-master/projects/picotcp/docs/user_manual/ |
H A D | chap_api_ipv6.tex | 253 \item \texttt{address} - Pointer to the destination internet host address as \texttt{struct pico$\_$ip6}. 257 On success, this call returns the source IP as \texttt{struct pico$\_$ip6}. 288 \item \texttt{address} - Pointer to the internet host address as \texttt{struct pico$\_$ip6}. 324 \item \texttt{address} - Pointer to the internet host address as \texttt{struct pico$\_$ip6}. 355 \item \texttt{address} - Pointer to the internet host address as \texttt{struct pico$\_$ip6}. 389 \item \texttt{address} - Pointer to the destination internet host address as \texttt{struct pico$\_$ip6}. 428 \item \texttt{address} - Pointer to the destination internet host address as struct \texttt{pico$\_$ip6}. 463 \item \texttt{address} - Pointer to the destination internet host address as struct \texttt{pico$\_$ip6}.
|
/seL4-camkes-master/projects/lwip/src/include/lwip/ |
H A D | stats.h | 279 struct stats_proto ip6; member in struct:stats_ 426 #define IP6_STATS_DISPLAY() stats_display_proto(&lwip_stats.ip6, "IPv6")
|
/seL4-camkes-master/projects/lwip/test/unit/ |
H A D | Filelists.mk | 44 $(TESTDIR)/ip6/test_ip6.c \
|