Home
last modified time | relevance | path

Searched refs:sin6 (Results 1 – 12 of 12) sorted by relevance

/net-tools-3.4.0/libcoap/src/
Daddress.c31 return a->addr.sin6.sin6_port == b->addr.sin6.sin6_port && in coap_address_equals()
32 memcmp(&a->addr.sin6.sin6_addr, &b->addr.sin6.sin6_addr, in coap_address_equals()
Dcoap_io.c290 &local_interface->addr.addr.sin6.sin6_addr, in coap_network_send()
482 memcpy(&(*packet)->dst.addr.sin6.sin6_addr, in coap_network_read()
488 (*packet)->src.addr.sin6.sin6_family = SIN6(mhdr.msg_name)->sin6_family; in coap_network_read()
489 (*packet)->src.addr.sin6.sin6_addr = SIN6(mhdr.msg_name)->sin6_addr; in coap_network_read()
490 (*packet)->src.addr.sin6.sin6_port = SIN6(mhdr.msg_name)->sin6_port; in coap_network_read()
Ddebug.c179 addrptr = &addr->addr.sin6.sin6_addr; in coap_print_addr()
180 port = ntohs(addr->addr.sin6.sin6_port); in coap_print_addr()
Dnet.c513 coap_hash((const unsigned char *)&peer->addr.sin6.sin6_port, in coap_transaction_id()
514 sizeof(peer->addr.sin6.sin6_port), h); in coap_transaction_id()
515 coap_hash((const unsigned char *)&peer->addr.sin6.sin6_addr, in coap_transaction_id()
516 sizeof(peer->addr.sin6.sin6_addr), h); in coap_transaction_id()
/net-tools-3.4.0/tinydtls-0.8.2/
Dsession.c62 return a->addr.sin6.sin6_port == b->addr.sin6.sin6_port && in _dtls_address_equals_impl()
63 memcmp(&a->addr.sin6.sin6_addr, &b->addr.sin6.sin6_addr, in _dtls_address_equals_impl()
Dsession.h55 struct sockaddr_in6 sin6; member
Ddebug.c138 addrptr = &addr->addr.sin6.sin6_addr; in dsrv_print_addr()
139 port = ntohs(addr->addr.sin6.sin6_port); in dsrv_print_addr()
/net-tools-3.4.0/libcoap/examples/
Dcoap-rd.c316 peer->addr.sin6.sin6_addr.s6_addr[0], in add_source_address()
317 peer->addr.sin6.sin6_addr.s6_addr[1], in add_source_address()
318 peer->addr.sin6.sin6_addr.s6_addr[2], in add_source_address()
319 peer->addr.sin6.sin6_addr.s6_addr[3], in add_source_address()
320 peer->addr.sin6.sin6_addr.s6_addr[4], in add_source_address()
321 peer->addr.sin6.sin6_addr.s6_addr[5], in add_source_address()
322 peer->addr.sin6.sin6_addr.s6_addr[6], in add_source_address()
323 peer->addr.sin6.sin6_addr.s6_addr[7], in add_source_address()
324 peer->addr.sin6.sin6_addr.s6_addr[8], in add_source_address()
325 peer->addr.sin6.sin6_addr.s6_addr[9], in add_source_address()
[all …]
Dclient.c1153 addrptr = &dst.addr.sin6.sin6_addr; in main()
/net-tools-3.4.0/libcoap/include/coap/
Daddress.h63 struct sockaddr_in6 sin6; member
82 &a->addr.sin6.sin6_addr, in _coap_address_isany_impl()
100 return IN6_IS_ADDR_MULTICAST(&a->addr.sin6.sin6_addr); in _coap_is_mcast_impl()
/net-tools-3.4.0/libcoap/tests/
Dtest_wellknown.c254 addr.addr.sin6.sin6_family = AF_INET6; in t_wkc_tests_create()
255 addr.addr.sin6.sin6_addr = in6addr_any; in t_wkc_tests_create()
256 addr.addr.sin6.sin6_port = htons(COAP_DEFAULT_PORT); in t_wkc_tests_create()
/net-tools-3.4.0/tinydtls-0.8.2/tests/
Ddtls-server.c177 ntohs(session.addr.sin6.sin6_port)); in dtls_handle_read()