Searched refs:sa (Results 1 – 15 of 15) sorted by relevance
/net-tools-2.7.6/libcoap/src/ |
D | address.c | 20 if (a->size != b->size || a->addr.sa.sa_family != b->addr.sa.sa_family) in coap_address_equals() 24 switch (a->addr.sa.sa_family) { in coap_address_equals()
|
D | coap_io.c | 121 int sockfd = socket(addr->addr.sa.sa_family, SOCK_DGRAM, 0); in coap_new_endpoint() 134 switch(addr->addr.sa.sa_family) { in coap_new_endpoint() 153 if (bind(sockfd, &addr->addr.sa, addr->size) < 0) { in coap_new_endpoint() 172 if (getsockname(sockfd, &ep->addr.addr.sa, &ep->addr.size) < 0) { in coap_new_endpoint() 265 switch (dst->addr.sa.sa_family) { in coap_network_send() 462 if (getsockname(ep->handle.fd, &(*packet)->dst.addr.sa, &(*packet)->dst.size) < 0) { in coap_network_read()
|
D | debug.c | 168 switch (addr->addr.sa.sa_family) { in coap_print_addr() 188 if (inet_ntop(addr->addr.sa.sa_family, addrptr, (char *)p, len) == 0) { in coap_print_addr() 195 if (addr->addr.sa.sa_family == AF_INET6) { in coap_print_addr()
|
D | net.c | 505 switch (peer->addr.sa.sa_family) { in coap_transaction_id()
|
/net-tools-2.7.6/tinydtls-0.8.2/ |
D | session.c | 51 a->size != b->size || a->addr.sa.sa_family != b->addr.sa.sa_family) in _dtls_address_equals_impl() 55 switch (a->addr.sa.sa_family) { in _dtls_address_equals_impl()
|
D | session.h | 52 struct sockaddr sa; member
|
D | debug.c | 124 switch (addr->addr.sa.sa_family) { in dsrv_print_addr() 147 if (inet_ntop(addr->addr.sa.sa_family, addrptr, p, len) == 0) { in dsrv_print_addr() 154 if (addr->addr.sa.sa_family == AF_INET6) { in dsrv_print_addr()
|
/net-tools-2.7.6/libcoap/include/coap/ |
D | address.h | 60 struct sockaddr sa; member 77 switch (a->addr.sa.sa_family) { in _coap_address_isany_impl() 96 switch (a->addr.sa.sa_family) { in _coap_is_mcast_impl()
|
/net-tools-2.7.6/tinydtls-0.8.2/tests/ |
D | dtls-client.c | 200 &session->addr.sa, session->size); in send_to_peer() 219 &session.addr.sa, &session.size); in dtls_handle_read() 418 res = resolve_address(argv[optind++], &dst.addr.sa); 431 fd = socket(dst.addr.sa.sa_family, SOCK_DGRAM, 0);
|
D | dtls-server.c | 153 &session->addr.sa, session->size); in send_to_peer() 170 &session.addr.sa, &session.size); in dtls_handle_read()
|
/net-tools-2.7.6/ |
D | tunslip6.c | 116 get_in_addr(struct sockaddr *sa) in get_in_addr() argument 118 if(sa->sa_family == AF_INET) { in get_in_addr() 119 return &(((struct sockaddr_in*)sa)->sin_addr); in get_in_addr() 121 return &(((struct sockaddr_in6*)sa)->sin6_addr); in get_in_addr()
|
D | coap-client.c | 1004 &session->addr.sa, session->size); in send_to_peer() 1019 0, &session.addr.sa, &session.size); in dtls_handle_read() 1780 memcpy(&dst.addr.sa, addr_send, addr_len);
|
/net-tools-2.7.6/libcoap/examples/ |
D | client.c | 1133 res = resolve_address(&server, &dst.addr.sa); in main() 1145 switch (dst.addr.sa.sa_family) { in main() 1173 && (inet_ntop(dst.addr.sa.sa_family, addrptr, addr, sizeof(addr)) != 0) in main()
|
D | coap-rd.c | 306 switch(peer->addr.sa.sa_family) { in add_source_address()
|
/net-tools-2.7.6/mbedtls-2.4.0/tests/data_files/ |
D | cert_example_wildcard.crt | 75 sa+TF3LEvjEmkzx9/NU9zwu+xXvptPjzMPL1oifrmnH8f3leiMWmLTNXujgG5q0L
|