diff options
Diffstat (limited to 'include/net/inet_connection_sock.h')
-rw-r--r-- | include/net/inet_connection_sock.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index 0bcf9f237e1f..cccea051e922 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
@@ -36,7 +36,8 @@ struct tcp_congestion_ops; | |||
36 | * (i.e. things that depend on the address family) | 36 | * (i.e. things that depend on the address family) |
37 | */ | 37 | */ |
38 | struct inet_connection_sock_af_ops { | 38 | struct inet_connection_sock_af_ops { |
39 | int (*queue_xmit)(struct sk_buff *skb, int ipfragok); | 39 | int (*queue_xmit)(struct sk_buff *skb, struct sock *sk, |
40 | int ipfragok); | ||
40 | void (*send_check)(struct sock *sk, int len, | 41 | void (*send_check)(struct sock *sk, int len, |
41 | struct sk_buff *skb); | 42 | struct sk_buff *skb); |
42 | int (*rebuild_header)(struct sock *sk); | 43 | int (*rebuild_header)(struct sock *sk); |
@@ -45,7 +46,8 @@ struct inet_connection_sock_af_ops { | |||
45 | struct request_sock *req, | 46 | struct request_sock *req, |
46 | struct dst_entry *dst); | 47 | struct dst_entry *dst); |
47 | int (*remember_stamp)(struct sock *sk); | 48 | int (*remember_stamp)(struct sock *sk); |
48 | __u16 net_header_len; | 49 | u16 net_header_len; |
50 | u16 sockaddr_len; | ||
49 | int (*setsockopt)(struct sock *sk, int level, int optname, | 51 | int (*setsockopt)(struct sock *sk, int level, int optname, |
50 | char __user *optval, int optlen); | 52 | char __user *optval, int optlen); |
51 | int (*getsockopt)(struct sock *sk, int level, int optname, | 53 | int (*getsockopt)(struct sock *sk, int level, int optname, |
@@ -57,7 +59,6 @@ struct inet_connection_sock_af_ops { | |||
57 | int level, int optname, | 59 | int level, int optname, |
58 | char __user *optval, int __user *optlen); | 60 | char __user *optval, int __user *optlen); |
59 | void (*addr2sockaddr)(struct sock *sk, struct sockaddr *); | 61 | void (*addr2sockaddr)(struct sock *sk, struct sockaddr *); |
60 | int sockaddr_len; | ||
61 | }; | 62 | }; |
62 | 63 | ||
63 | /** inet_connection_sock - INET connection oriented sock | 64 | /** inet_connection_sock - INET connection oriented sock |