Lines Matching refs:addr
919 unsigned char addr[INET6_ADDRSTRLEN+8]; in dispatch_data() local
921 if (coap_print_addr(src, addr, INET6_ADDRSTRLEN+8)) in dispatch_data()
923 (int)bytes_read, addr); in dispatch_data()
942 coap_address_t addr; in read_from_peer() local
947 memcpy(&(addr.addr), &(session->addr), session->size); in read_from_peer()
948 addr.size = session->size; in read_from_peer()
952 &addr) < 0) { in read_from_peer()
1004 &session->addr.sa, session->size); in send_to_peer()
1017 session.size = sizeof(session.addr); in dtls_handle_read()
1019 0, &session.addr.sa, &session.size); in dtls_handle_read()
1074 coap_address_t addr; in read_data_from_net() local
1530 coap_address_t addr; in get_coap_context() local
1533 coap_address_init(&addr); in get_coap_context()
1534 addr.size = ipaddrlen; in get_coap_context()
1535 memcpy(&addr.addr, ipaddr, ipaddrlen); in get_coap_context()
1537 ctx = coap_new_context(&addr); in get_coap_context()
1749 memcpy(&user_data.coap_dst.addr, addr_send, addr_len);
1780 memcpy(&dst.addr.sa, addr_send, addr_len);