Lines Matching refs:addr_len

2042 	int addr_len;  in on_cmd_atcmdinfo_ipaddr()  local
2067 addr_len = delims[3] - delims[2]; in on_cmd_atcmdinfo_ipaddr()
2068 LOG_DBG("IP string len: %d", addr_len); in on_cmd_atcmdinfo_ipaddr()
2069 if (addr_len <= (NET_IPV4_ADDR_LEN * 2)) { in on_cmd_atcmdinfo_ipaddr()
2093 addr_len = sm_start - addr_start; in on_cmd_atcmdinfo_ipaddr()
2094 strncpy(temp_addr_str, addr_start, addr_len); in on_cmd_atcmdinfo_ipaddr()
2095 temp_addr_str[addr_len] = 0; in on_cmd_atcmdinfo_ipaddr()
2111 addr_len = delims[3] - sm_start; in on_cmd_atcmdinfo_ipaddr()
2112 strncpy(temp_addr_str, sm_start, addr_len); in on_cmd_atcmdinfo_ipaddr()
2113 temp_addr_str[addr_len] = 0; in on_cmd_atcmdinfo_ipaddr()
2122 addr_len = delims[4] - addr_start; in on_cmd_atcmdinfo_ipaddr()
2123 strncpy(temp_addr_str, addr_start, addr_len); in on_cmd_atcmdinfo_ipaddr()
2124 temp_addr_str[addr_len] = 0; in on_cmd_atcmdinfo_ipaddr()
2134 addr_len = delims[5] - addr_start; in on_cmd_atcmdinfo_ipaddr()
2135 strncpy(temp_addr_str, addr_start, addr_len); in on_cmd_atcmdinfo_ipaddr()
2136 temp_addr_str[addr_len] = 0; in on_cmd_atcmdinfo_ipaddr()
2138 ret = strncmp(temp_addr_str, iface_ctx.dns_v4_string, addr_len); in on_cmd_atcmdinfo_ipaddr()
2142 strncpy(iface_ctx.dns_v4_string, addr_start, addr_len); in on_cmd_atcmdinfo_ipaddr()
2143 iface_ctx.dns_v4_string[addr_len] = 0; in on_cmd_atcmdinfo_ipaddr()
2149 ret = strncmp(temp_addr_str, iface_ctx.dns_v6_string, addr_len); in on_cmd_atcmdinfo_ipaddr()
2154 strncpy(iface_ctx.dns_v6_string, addr_start, addr_len); in on_cmd_atcmdinfo_ipaddr()
5935 const struct sockaddr *addr, socklen_t addr_len) in offload_bind() argument
5979 const struct sockaddr *addr, socklen_t addr_len, in offload_connect() argument
6072 socklen_t addr_len, net_context_send_cb_t cb, in offload_sendto() argument
6136 socklen_t addr_len; in offload_send() local
6138 addr_len = 0; in offload_send()
6141 addr_len = sizeof(struct sockaddr_in6); in offload_send()
6146 addr_len = sizeof(struct sockaddr_in); in offload_send()
6153 return offload_sendto(pkt, &context->remote, addr_len, cb, timeout, in offload_send()