Home
last modified time | relevance | path

Searched refs:udp_sk (Results 1 – 19 of 19) sorted by relevance

/linux/include/linux/
A Dudp.h98 static inline struct udp_sock *udp_sk(const struct sock *sk) in udp_sk() function
105 udp_sk(sk)->no_check6_tx = val; in udp_set_no_check6_tx()
110 udp_sk(sk)->no_check6_rx = val; in udp_set_no_check6_rx()
115 return udp_sk(sk)->no_check6_tx; in udp_get_no_check6_tx()
120 return udp_sk(sk)->no_check6_rx; in udp_get_no_check6_rx()
139 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4 && !udp_sk(sk)->accept_udp_l4) in udp_unexpected_gso()
142 if (skb_shinfo(skb)->gso_type & SKB_GSO_FRAGLIST && !udp_sk(sk)->accept_udp_fraglist) in udp_unexpected_gso()
150 udp_sk(sk)->accept_udp_l4 = 1; in udp_allow_gso()
151 udp_sk(sk)->accept_udp_fraglist = 1; in udp_allow_gso()
/linux/tools/testing/selftests/bpf/progs/
A Dbpf_iter_udp4.c28 struct udp_sock *udp_sk = ctx->udp_sk; in dump_udp4() local
35 if (udp_sk == (void *)0) in dump_udp4()
46 inet = &udp_sk->inet; in dump_udp4()
50 inet = &udp_sk->inet; in dump_udp4()
55 rqueue = inet->sk.sk_rmem_alloc.counter - udp_sk->forward_deficit; in dump_udp4()
66 inet->sk.sk_refcnt.refs.counter, udp_sk, in dump_udp4()
A Dbpf_iter_udp6.c35 struct udp_sock *udp_sk = ctx->udp_sk; in dump_udp6() local
43 if (udp_sk == (void *)0) in dump_udp6()
50 udp6_sk = bpf_skc_to_udp6_sock(udp_sk); in dump_udp6()
54 inet = &udp_sk->inet; in dump_udp6()
57 rqueue = inet->sk.sk_rmem_alloc.counter - udp_sk->forward_deficit; in dump_udp6()
74 inet->sk.sk_refcnt.refs.counter, udp_sk, in dump_udp6()
A Dbpf_iter.h98 struct udp_sock *udp_sk; member
/linux/net/ipv4/
A Dudp.c209 (udp_sk(sk2)->udp_port_hash == udp_sk(sk)->udp_port_hash) && in udp_reuseport_add_sock()
308 udp_sk(sk)->udp_port_hash = snum; in udp_lib_get_port()
314 udp_sk(sk)->udp_port_hash = 0; in udp_lib_get_port()
665 up = udp_sk(sk); in __udp4_lib_err_encap()
678 up = udp_sk(sk); in __udp4_lib_err_encap()
807 struct udp_sock *up = udp_sk(sk); in udp_flush_pending_frames()
1043 struct udp_sock *up = udp_sk(sk); in udp_sendmsg()
1324 struct udp_sock *up = udp_sk(sk); in udp_sendpage()
1439 struct udp_sock *up = udp_sk(sk); in udp_rmem_release()
1926 if (udp_sk(sk)->gro_enabled) in udp_recvmsg()
[all …]
A Dudp_tunnel_core.c73 udp_sk(sk)->encap_type = cfg->encap_type; in setup_udp_tunnel_sock()
74 udp_sk(sk)->encap_rcv = cfg->encap_rcv; in setup_udp_tunnel_sock()
75 udp_sk(sk)->encap_err_lookup = cfg->encap_err_lookup; in setup_udp_tunnel_sock()
76 udp_sk(sk)->encap_destroy = cfg->encap_destroy; in setup_udp_tunnel_sock()
77 udp_sk(sk)->gro_receive = cfg->gro_receive; in setup_udp_tunnel_sock()
78 udp_sk(sk)->gro_complete = cfg->gro_complete; in setup_udp_tunnel_sock()
A Dudp_offload.c522 if (!sk || !udp_sk(sk)->gro_receive) { in udp_gro_receive()
524 NAPI_GRO_CB(skb)->is_flist = sk ? !udp_sk(sk)->gro_enabled : 1; in udp_gro_receive()
527 (sk && udp_sk(sk)->gro_enabled) || NAPI_GRO_CB(skb)->is_flist) in udp_gro_receive()
563 pp = call_gro_receive_sk(udp_sk(sk)->gro_receive, sk, head, skb); in udp_gro_receive()
647 if (sk && udp_sk(sk)->gro_complete) { in udp_gro_complete()
660 err = udp_sk(sk)->gro_complete(sk, skb, in udp_gro_complete()
A Dxfrm4_input.c84 struct udp_sock *up = udp_sk(sk); in xfrm4_udp_encap_rcv()
A Dudp_bpf.c26 return !skb_queue_empty(&udp_sk(sk)->reader_queue) || in udp_sk_has_data()
/linux/include/net/
A Dudplite.h31 udp_sk(sk)->pcflag = UDPLITE_BIT; in udplite_sk_init()
76 const struct udp_sock *up = udp_sk(skb->sk); in udplite_csum_outgoing()
119 const struct udp_sock *up = udp_sk(skb->sk); in udplite_csum()
A Dudp_tunnel.h175 struct udp_sock *up = udp_sk(sock->sk); in udp_tunnel_encap_enable()
A Dudp.h258 return sk_rmem_alloc_get(sk) - READ_ONCE(udp_sk(sk)->forward_deficit); in udp_rqueue_get()
/linux/net/ipv6/
A Dudp.c112 udp_sk(sk)->udp_port_hash != hnum || in compute_score()
418 if (udp_sk(sk)->gro_enabled) in udpv6_recvmsg()
526 up = udp_sk(sk); in __udp6_lib_err_encap()
539 up = udp_sk(sk); in __udp6_lib_err_encap()
576 if (!sk || udp_sk(sk)->encap_type) { in __udp6_lib_err()
673 struct udp_sock *up = udp_sk(sk); in udpv6_queue_rcv_one_skb()
1097 struct udp_sock *up = udp_sk(sk); in udp_v6_flush_pending_frames()
1212 if (udp_sk(sk)->no_check6_tx) { in udp_v6_send_skb()
1267 struct udp_sock *up = udp_sk(sk); in udp_v6_push_pending_frames()
1294 struct udp_sock *up = udp_sk(sk); in udpv6_sendmsg()
[all …]
A Dxfrm6_input.c79 struct udp_sock *up = udp_sk(sk); in xfrm6_udp_encap_rcv()
A Dipv6_sockglue.c436 struct udp_sock *up = udp_sk(sk); in do_ipv6_setsockopt()
/linux/net/rxrpc/
A Dinput.c1207 int rxrpc_input_packet(struct sock *udp_sk, struct sk_buff *skb) in rxrpc_input_packet() argument
1209 struct rxrpc_local *local = rcu_dereference_sk_user_data(udp_sk); in rxrpc_input_packet()
1218 _enter("%p", udp_sk); in rxrpc_input_packet()
/linux/net/l2tp/
A Dl2tp_core.c1144 (udp_sk(sk))->encap_type = 0; in l2tp_tunnel_destruct()
1145 (udp_sk(sk))->encap_rcv = NULL; in l2tp_tunnel_destruct()
1146 (udp_sk(sk))->encap_destroy = NULL; in l2tp_tunnel_destruct()
/linux/drivers/net/
A Dgtp.c299 udp_sk(sk)->encap_type = 0; in __gtp_encap_destroy()
341 switch (udp_sk(sk)->encap_type) { in gtp_encap_recv()
/linux/net/netfilter/ipvs/
A Dip_vs_sync.c1718 struct udp_sock *up = udp_sk(sk); in sync_thread_backup()

Completed in 45 milliseconds