]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/net/llc_conn.h
llc: add support for LLC_OPT_PKTINFO
[karo-tx-linux.git] / include / net / llc_conn.h
index 00730d21b522cc8edc9f1d14de0d73e883833d91..fe982fd94c4a78ef879966a42ffb5b4deb797ce0 100644 (file)
@@ -76,6 +76,7 @@ struct llc_sock {
        u32                 rx_pdu_hdr;    /* used for saving header of last pdu
                                              received and caused sending FRMR.
                                              Used for resending FRMR */
+       u32                 cmsg_flags;
 };
 
 static inline struct llc_sock *llc_sk(const struct sock *sk)
@@ -93,7 +94,7 @@ static __inline__ char llc_backlog_type(struct sk_buff *skb)
        return skb->cb[sizeof(skb->cb) - 1];
 }
 
-extern struct sock *llc_sk_alloc(int family, gfp_t priority,
+extern struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority,
                                 struct proto *prot);
 extern void llc_sk_free(struct sock *sk);