Home
last modified time | relevance | path

Searched refs:udp_test_bit (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/
H A Dudp.h143 #define udp_test_bit(nr, sk) \ macro
177 return udp_test_bit(NO_CHECK6_TX, sk); in udp_get_no_check6_tx()
182 return udp_test_bit(NO_CHECK6_RX, sk); in udp_get_no_check6_rx()
220 !udp_test_bit(ACCEPT_L4, sk)) in udp_unexpected_gso()
224 !udp_test_bit(ACCEPT_FRAGLIST, sk)) in udp_unexpected_gso()
/linux/net/ipv6/
H A Dudp.c554 if (udp_test_bit(GRO_ENABLED, sk)) in udpv6_recvmsg()
1474 int corkreq = udp_test_bit(CORK, sk) || msg->msg_flags & MSG_MORE; in udpv6_sendmsg()
1795 if (!READ_ONCE(up->pending) || udp_test_bit(CORK, sk)) in udpv6_splice_eof()
1799 if (up->pending && !udp_test_bit(CORK, sk)) in udpv6_splice_eof()
1821 if (udp_test_bit(ENCAP_ENABLED, sk)) { in udpv6_destroy_sock()
/linux/net/ipv4/
H A Dudp.c1257 int corkreq = udp_test_bit(CORK, sk) || msg->msg_flags & MSG_MORE; in udp_sendmsg()
1536 if (!READ_ONCE(up->pending) || udp_test_bit(CORK, sk)) in udp_splice_eof()
1540 if (up->pending && !udp_test_bit(CORK, sk)) in udp_splice_eof()
2128 if (udp_test_bit(GRO_ENABLED, sk)) in udp_recvmsg()
2891 if (udp_test_bit(ENCAP_ENABLED, sk)) { in udp_destroy_sock()
2908 if (udp_test_bit(GRO_ENABLED, sk) && encap_type == UDP_ENCAP_ESPINUDP) { in set_xfrm_gro_udp_encap_rcv()
3058 val = udp_test_bit(CORK, sk); in udp_lib_getsockopt()
3078 val = udp_test_bit(GRO_ENABLED, sk); in udp_lib_getsockopt()
H A Dudp_offload.c805 NAPI_GRO_CB(skb)->is_flist = sk ? !udp_test_bit(GRO_ENABLED, sk) : 1; in udp_gro_receive()
808 (sk && udp_test_bit(GRO_ENABLED, sk)) || NAPI_GRO_CB(skb)->is_flist) in udp_gro_receive()