• Home
  • Raw
  • Download

Lines Matching refs:up

691 	struct udp_sock *up = udp_sk(sk);  in udp_flush_pending_frames()  local
693 if (up->pending) { in udp_flush_pending_frames()
694 up->len = 0; in udp_flush_pending_frames()
695 up->pending = 0; in udp_flush_pending_frames()
845 struct udp_sock *up = udp_sk(sk); in udp_push_pending_frames() local
858 up->len = 0; in udp_push_pending_frames()
859 up->pending = 0; in udp_push_pending_frames()
868 struct udp_sock *up = udp_sk(sk); in udp_sendmsg() local
880 int corkreq = up->corkflag || msg->msg_flags&MSG_MORE; in udp_sendmsg()
903 if (up->pending) { in udp_sendmsg()
909 if (likely(up->pending)) { in udp_sendmsg()
910 if (unlikely(up->pending != AF_INET)) { in udp_sendmsg()
1051 if (unlikely(up->pending)) { in udp_sendmsg()
1068 up->pending = AF_INET; in udp_sendmsg()
1071 up->len += ulen; in udp_sendmsg()
1080 up->pending = 0; in udp_sendmsg()
1115 struct udp_sock *up = udp_sk(sk); in udp_sendpage() local
1121 if (!up->pending) { in udp_sendpage()
1135 if (unlikely(!up->pending)) { in udp_sendpage()
1154 up->len += size; in udp_sendpage()
1155 if (!(up->corkflag || (flags&MSG_MORE))) in udp_sendpage()
1488 struct udp_sock *up = udp_sk(sk); in udp_queue_rcv_skb() local
1499 if (static_key_false(&udp_encap_needed) && up->encap_type) { in udp_queue_rcv_skb()
1514 encap_rcv = ACCESS_ONCE(up->encap_rcv); in udp_queue_rcv_skb()
1550 if (up->pcrlen == 0) { /* full coverage was set */ in udp_queue_rcv_skb()
1561 if (UDP_SKB_CB(skb)->cscov < up->pcrlen) { in udp_queue_rcv_skb()
1563 UDP_SKB_CB(skb)->cscov, up->pcrlen); in udp_queue_rcv_skb()
2015 struct udp_sock *up = udp_sk(sk); in udp_destroy_sock() local
2019 if (static_key_false(&udp_encap_needed) && up->encap_type) { in udp_destroy_sock()
2021 encap_destroy = ACCESS_ONCE(up->encap_destroy); in udp_destroy_sock()
2034 struct udp_sock *up = udp_sk(sk); in udp_lib_setsockopt() local
2050 up->corkflag = 1; in udp_lib_setsockopt()
2052 up->corkflag = 0; in udp_lib_setsockopt()
2064 up->encap_rcv = xfrm4_udp_encap_rcv; in udp_lib_setsockopt()
2067 up->encap_type = val; in udp_lib_setsockopt()
2077 up->no_check6_tx = valbool; in udp_lib_setsockopt()
2081 up->no_check6_rx = valbool; in udp_lib_setsockopt()
2096 up->pcslen = val; in udp_lib_setsockopt()
2097 up->pcflag |= UDPLITE_SEND_CC; in udp_lib_setsockopt()
2110 up->pcrlen = val; in udp_lib_setsockopt()
2111 up->pcflag |= UDPLITE_RECV_CC; in udp_lib_setsockopt()
2146 struct udp_sock *up = udp_sk(sk); in udp_lib_getsockopt() local
2159 val = up->corkflag; in udp_lib_getsockopt()
2163 val = up->encap_type; in udp_lib_getsockopt()
2167 val = up->no_check6_tx; in udp_lib_getsockopt()
2171 val = up->no_check6_rx; in udp_lib_getsockopt()
2177 val = up->pcslen; in udp_lib_getsockopt()
2181 val = up->pcrlen; in udp_lib_getsockopt()