Lines Matching defs:udp_sock
47 struct udp_sock { struct
49 struct inet_sock inet;
54 unsigned long udp_flags;
56 int pending; /* Any pending frames ? */
57 __u8 encap_type; /* Is this an Encapsulation socket? */
61 __u16 udp_lrpa_hash;
62 struct hlist_nulls_node udp_lrpa_node;
69 __u16 len; /* total length of pending frames */
70 __u16 gso_size;
74 __u16 pcslen;
75 __u16 pcrlen;
79 int (*encap_rcv)(struct sock *sk, struct sk_buff *skb);
80 void (*encap_err_rcv)(struct sock *sk, struct sk_buff *skb, int err,
82 int (*encap_err_lookup)(struct sock *sk, struct sk_buff *skb);
83 void (*encap_destroy)(struct sock *sk);
86 struct sk_buff * (*gro_receive)(struct sock *sk,
89 int (*gro_complete)(struct sock *sk,
94 struct sk_buff_head reader_queue ____cacheline_aligned_in_smp;
119 #define udp_sk(ptr) container_of_const(ptr, struct udp_sock, inet.sk) argument