Lines Matching defs:udp_sock
35 struct udp_sock { struct
37 struct inet_sock inet;
41 int pending; /* Any pending frames ? */
42 unsigned int corkflag; /* Cork is required */
43 __u8 encap_type; /* Is this an Encapsulation socket? */
44 unsigned char no_check6_tx:1,/* Send zero UDP6 checksums on TX? */
45 no_check6_rx:1,/* Allow zero UDP6 checksums on RX? */
46 encap_enabled:1, /* This socket enabled encap
51 gro_enabled:1, /* Request GRO aggregation */
52 accept_udp_l4:1,
53 accept_udp_fraglist:1;
58 __u16 len; /* total length of pending frames */
59 __u16 gso_size;
63 __u16 pcslen;
64 __u16 pcrlen;
69 __u8 pcflag; /* marks socket as UDP-Lite if > 0 */
70 __u8 unused[3];
74 int (*encap_rcv)(struct sock *sk, struct sk_buff *skb);
75 void (*encap_err_rcv)(struct sock *sk, struct sk_buff *skb, int err,
100 #define udp_sk(ptr) container_of_const(ptr, struct udp_sock, inet.sk) argument