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 */
84 static inline struct llc_sock *llc_sk(const struct sock *sk)
99 struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority,
101 void llc_sk_stop_all_timers(struct sock *sk, bool sync);
102 void llc_sk_free(struct sock *sk);
104 void llc_sk_reset(struct sock *sk);
107 int llc_conn_state_process(struct sock *sk, struct sk_buff *skb);
108 void llc_conn_send_pdu(struct sock *sk, struct sk_buff *skb);
109 void llc_conn_rtn_pdu(struct sock *sk, struct sk_buff *skb);
110 void llc_conn_resend_i_pdu_as_cmd(struct sock *sk, u8 nr, u8 first_p_bit);
111 void llc_conn_resend_i_pdu_as_rsp(struct sock *sk, u8 nr, u8 first_f_bit);
112 int llc_conn_remove_acked_pdus(struct sock *conn, u8 nr, u16 *how_many_unacked);
113 struct sock *llc_lookup_established(struct llc_sap *sap, struct llc_addr *daddr,
115 void llc_sap_add_socket(struct llc_sap *sap, struct sock *sk);
116 void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk);