Lines Matching refs:sock
16 #include <net/sock.h>
59 int (*ccid_hc_rx_init)(struct ccid *ccid, struct sock *sk);
60 int (*ccid_hc_tx_init)(struct ccid *ccid, struct sock *sk);
61 void (*ccid_hc_rx_exit)(struct sock *sk);
62 void (*ccid_hc_tx_exit)(struct sock *sk);
63 void (*ccid_hc_rx_packet_recv)(struct sock *sk,
65 int (*ccid_hc_rx_parse_options)(struct sock *sk,
69 int (*ccid_hc_rx_insert_options)(struct sock *sk,
71 void (*ccid_hc_tx_packet_recv)(struct sock *sk,
73 int (*ccid_hc_tx_parse_options)(struct sock *sk,
77 int (*ccid_hc_tx_send_packet)(struct sock *sk,
79 void (*ccid_hc_tx_packet_sent)(struct sock *sk,
81 void (*ccid_hc_rx_get_info)(struct sock *sk,
83 void (*ccid_hc_tx_get_info)(struct sock *sk,
85 int (*ccid_hc_rx_getsockopt)(struct sock *sk,
89 int (*ccid_hc_tx_getsockopt)(struct sock *sk,
115 extern int ccid_getsockopt_builtin_ccids(struct sock *sk, int len,
118 extern struct ccid *ccid_new(const u8 id, struct sock *sk, bool rx);
138 extern void ccid_hc_rx_delete(struct ccid *ccid, struct sock *sk);
139 extern void ccid_hc_tx_delete(struct ccid *ccid, struct sock *sk);
141 static inline int ccid_hc_tx_send_packet(struct ccid *ccid, struct sock *sk,
150 static inline void ccid_hc_tx_packet_sent(struct ccid *ccid, struct sock *sk,
157 static inline void ccid_hc_rx_packet_recv(struct ccid *ccid, struct sock *sk,
164 static inline void ccid_hc_tx_packet_recv(struct ccid *ccid, struct sock *sk,
171 static inline int ccid_hc_tx_parse_options(struct ccid *ccid, struct sock *sk,
183 static inline int ccid_hc_rx_parse_options(struct ccid *ccid, struct sock *sk,
194 static inline int ccid_hc_rx_insert_options(struct ccid *ccid, struct sock *sk,
202 static inline void ccid_hc_rx_get_info(struct ccid *ccid, struct sock *sk,
209 static inline void ccid_hc_tx_get_info(struct ccid *ccid, struct sock *sk,
216 static inline int ccid_hc_rx_getsockopt(struct ccid *ccid, struct sock *sk,
227 static inline int ccid_hc_tx_getsockopt(struct ccid *ccid, struct sock *sk,