]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/netlink.h
[TCP]: Earlier SACK block verification & simplify access to them
[linux-2.6-omap-h63xx.git] / include / linux / netlink.h
index e638256ce4729cc6e5398644c77b6ebd9ee2bfa8..d5bfaba595c79e796be9d105b0359d02ac5a88a8 100644 (file)
@@ -175,7 +175,7 @@ struct netlink_skb_parms
 
 extern struct sock *netlink_kernel_create(struct net *net,
                                          int unit,unsigned int groups,
-                                         void (*input)(struct sock *sk, int len),
+                                         void (*input)(struct sk_buff *skb),
                                          struct mutex *cb_mutex,
                                          struct module *module);
 extern int netlink_change_ngroups(struct sock *sk, unsigned int groups);
@@ -192,9 +192,9 @@ extern int netlink_unregister_notifier(struct notifier_block *nb);
 /* finegrained unicast helpers: */
 struct sock *netlink_getsockbyfilp(struct file *filp);
 int netlink_attachskb(struct sock *sk, struct sk_buff *skb, int nonblock,
-               long timeo, struct sock *ssk);
+                     long *timeo, struct sock *ssk);
 void netlink_detachskb(struct sock *sk, struct sk_buff *skb);
-int netlink_sendskb(struct sock *sk, struct sk_buff *skb, int protocol);
+int netlink_sendskb(struct sock *sk, struct sk_buff *skb);
 
 /*
  *     skb should fit one page. This choice is good for headerless malloc.