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? */
63 __u16 len; /* total length of pending frames */
64 __u16 gso_size;
68 __u16 pcslen;
69 __u16 pcrlen;
73 int (*encap_rcv)(struct sock *sk, struct sk_buff *skb);
74 void (*encap_err_rcv)(struct sock *sk, struct sk_buff *skb, int err,
76 int (*encap_err_lookup)(struct sock *sk, struct sk_buff *skb);
77 void (*encap_destroy)(struct sock *sk);
80 struct sk_buff * (*gro_receive)(struct sock *sk,
83 int (*gro_complete)(struct sock *sk,
110 #define udp_sk(ptr) container_of_const(ptr, struct udp_sock, inet.sk) argument