Lines Matching refs:net_context_get_proto

195 		if (!(net_context_get_proto(&contexts[i]) == proto &&  in check_used_port()
391 net_context_get_proto(context), in find_available_port()
956 net_context_get_proto(context)), in net_context_bind()
1063 net_context_get_proto(context)), in net_context_bind()
1122 context, htons(net_context_get_proto(context)), in net_context_bind()
1172 context, net_context_get_proto(context), in net_context_bind()
1372 if (net_context_get_proto(context) == IPPROTO_TCP && in net_context_connect()
1424 if (net_context_get_proto(context) == IPPROTO_TCP && in net_context_connect()
1538 if (net_context_get_proto(context) == IPPROTO_TCP) { in net_context_accept()
2142 net_ipv6_finalize(pkt, net_context_get_proto(context)); in context_finalize_packet()
2144 net_ipv4_finalize(pkt, net_context_get_proto(context)); in context_finalize_packet()
2166 net_context_get_proto(context), in context_alloc_pkt()
2178 net_context_get_proto(context), in context_alloc_pkt()
2475 net_context_get_proto(context) == IPPROTO_TCP && in context_sendto()
2487 pkt, net_context_get_proto(context)); in context_sendto()
2538 net_context_get_proto(context) == IPPROTO_UDP) { in context_sendto()
2549 net_context_get_proto(context) == IPPROTO_TCP) { in context_sendto()
2567 if (net_context_get_proto(context) == IPPROTO_RAW) { in context_sendto()
2589 net_context_get_proto(context) == CAN_RAW) { in context_sendto()
2600 net_context_get_proto(context)); in context_sendto()
2724 if (net_context_get_proto(context) == IPPROTO_TCP) { in net_context_packet_received()
2813 ret = net_conn_register(net_context_get_proto(context), in recv_udp()
2898 ret = net_conn_register(net_context_get_proto(context), in recv_raw()
2932 net_context_get_proto(context) == IPPROTO_UDP) { in net_context_recv()
2935 net_context_get_proto(context) == IPPROTO_TCP) { in net_context_recv()