Lines Matching refs:sock
16 #include <net/sock.h>
33 /* struct sock must be the first member of llc_sock */
34 struct sock sk;
35 struct sockaddr_llc addr; /* address sock is bound to */
83 static inline struct llc_sock *llc_sk(const struct sock *sk)
98 extern struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority,
100 extern void llc_sk_free(struct sock *sk);
102 extern void llc_sk_reset(struct sock *sk);
105 extern int llc_conn_state_process(struct sock *sk, struct sk_buff *skb);
106 extern void llc_conn_send_pdu(struct sock *sk, struct sk_buff *skb);
107 extern void llc_conn_rtn_pdu(struct sock *sk, struct sk_buff *skb);
108 extern void llc_conn_resend_i_pdu_as_cmd(struct sock *sk, u8 nr,
110 extern void llc_conn_resend_i_pdu_as_rsp(struct sock *sk, u8 nr,
112 extern int llc_conn_remove_acked_pdus(struct sock *conn, u8 nr,
114 extern struct sock *llc_lookup_established(struct llc_sap *sap,
117 extern void llc_sap_add_socket(struct llc_sap *sap, struct sock *sk);
118 extern void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk);