Lines Matching refs:dst_port
434 uint16_t src_port = 0U, dst_port = 0U; in pkt_setup_ip_data() local
445 dst_port = ntohs(net_sin6(&sock->dst)->sin6_port); in pkt_setup_ip_data()
459 dst_port = ntohs(net_sin(&sock->dst)->sin_port); in pkt_setup_ip_data()
470 if (net_udp_create(pkt, dst_port, src_port)) { in pkt_setup_ip_data()
490 tcp->src_port = dst_port; in pkt_setup_ip_data()
491 tcp->dst_port = src_port; in pkt_setup_ip_data()
1536 int ret, dst_port = -1; in offload_connect() local
1567 dst_port = ntohs(net_sin6(addr)->sin6_port); in offload_connect()
1568 net_sin6(&sock->dst)->sin6_port = dst_port; in offload_connect()
1575 dst_port = ntohs(net_sin(addr)->sin_port); in offload_connect()
1576 net_sin(&sock->dst)->sin_port = dst_port; in offload_connect()
1583 if (dst_port < 0) { in offload_connect()
1584 LOG_ERR("Invalid port: %d", dst_port); in offload_connect()
1596 dst_port, timeout_sec); in offload_connect()