• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/dccp/

Lines Matching refs:ccid

4  *  net/dccp/ccid.h
34 int (*ccid_hc_rx_init)(struct ccid *ccid, struct sock *sk);
35 int (*ccid_hc_tx_init)(struct ccid *ccid, struct sock *sk);
73 struct ccid {
78 static inline void *ccid_priv(const struct ccid *ccid)
80 return (void *)ccid->ccid_priv;
83 extern struct ccid *ccid_new(unsigned char id, struct sock *sk, int rx,
86 extern struct ccid *ccid_hc_rx_new(unsigned char id, struct sock *sk,
88 extern struct ccid *ccid_hc_tx_new(unsigned char id, struct sock *sk,
91 extern void ccid_hc_rx_delete(struct ccid *ccid, struct sock *sk);
92 extern void ccid_hc_tx_delete(struct ccid *ccid, struct sock *sk);
94 static inline int ccid_hc_tx_send_packet(struct ccid *ccid, struct sock *sk,
98 if (ccid->ccid_ops->ccid_hc_tx_send_packet != NULL)
99 rc = ccid->ccid_ops->ccid_hc_tx_send_packet(sk, skb);
103 static inline void ccid_hc_tx_packet_sent(struct ccid *ccid, struct sock *sk,
106 if (ccid->ccid_ops->ccid_hc_tx_packet_sent != NULL)
107 ccid->ccid_ops->ccid_hc_tx_packet_sent(sk, more, len);
110 static inline void ccid_hc_rx_packet_recv(struct ccid *ccid, struct sock *sk,
113 if (ccid->ccid_ops->ccid_hc_rx_packet_recv != NULL)
114 ccid->ccid_ops->ccid_hc_rx_packet_recv(sk, skb);
117 static inline void ccid_hc_tx_packet_recv(struct ccid *ccid, struct sock *sk,
120 if (ccid->ccid_ops->ccid_hc_tx_packet_recv != NULL)
121 ccid->ccid_ops->ccid_hc_tx_packet_recv(sk, skb);
124 static inline int ccid_hc_tx_parse_options(struct ccid *ccid, struct sock *sk,
130 if (ccid->ccid_ops->ccid_hc_tx_parse_options != NULL)
131 rc = ccid->ccid_ops->ccid_hc_tx_parse_options(sk, option, len, idx,
136 static inline int ccid_hc_rx_parse_options(struct ccid *ccid, struct sock *sk,
142 if (ccid->ccid_ops->ccid_hc_rx_parse_options != NULL)
143 rc = ccid->ccid_ops->ccid_hc_rx_parse_options(sk, option, len, idx, value);
147 static inline int ccid_hc_rx_insert_options(struct ccid *ccid, struct sock *sk,
150 if (ccid->ccid_ops->ccid_hc_rx_insert_options != NULL)
151 return ccid->ccid_ops->ccid_hc_rx_insert_options(sk, skb);
155 static inline void ccid_hc_rx_get_info(struct ccid *ccid, struct sock *sk,
158 if (ccid->ccid_ops->ccid_hc_rx_get_info != NULL)
159 ccid->ccid_ops->ccid_hc_rx_get_info(sk, info);
162 static inline void ccid_hc_tx_get_info(struct ccid *ccid, struct sock *sk,
165 if (ccid->ccid_ops->ccid_hc_tx_get_info != NULL)
166 ccid->ccid_ops->ccid_hc_tx_get_info(sk, info);
169 static inline int ccid_hc_rx_getsockopt(struct ccid *ccid, struct sock *sk,
174 if (ccid->ccid_ops->ccid_hc_rx_getsockopt != NULL)
175 rc = ccid->ccid_ops->ccid_hc_rx_getsockopt(sk, optname, len,
180 static inline int ccid_hc_tx_getsockopt(struct ccid *ccid, struct sock *sk,
185 if (ccid->ccid_ops->ccid_hc_tx_getsockopt != NULL)
186 rc = ccid->ccid_ops->ccid_hc_tx_getsockopt(sk, optname, len,