Home
last modified time | relevance | path

Searched refs:ccid_ops (Results 1 – 3 of 3) sorted by relevance

/net/dccp/
Dccid.c102 static int ccid_activate(struct ccid_operations *ccid_ops) in ccid_activate() argument
106 ccid_ops->ccid_hc_rx_slab = in ccid_activate()
107 ccid_kmem_cache_create(ccid_ops->ccid_hc_rx_obj_size, in ccid_activate()
108 ccid_ops->ccid_hc_rx_slab_name, in ccid_activate()
110 ccid_ops->ccid_id); in ccid_activate()
111 if (ccid_ops->ccid_hc_rx_slab == NULL) in ccid_activate()
114 ccid_ops->ccid_hc_tx_slab = in ccid_activate()
115 ccid_kmem_cache_create(ccid_ops->ccid_hc_tx_obj_size, in ccid_activate()
116 ccid_ops->ccid_hc_tx_slab_name, in ccid_activate()
118 ccid_ops->ccid_id); in ccid_activate()
[all …]
Dccid.h100 struct ccid_operations *ccid_ops; member
120 if (ccid == NULL || ccid->ccid_ops == NULL) in ccid_get_current_rx_ccid()
122 return ccid->ccid_ops->ccid_id; in ccid_get_current_rx_ccid()
129 if (ccid == NULL || ccid->ccid_ops == NULL) in ccid_get_current_tx_ccid()
131 return ccid->ccid_ops->ccid_id; in ccid_get_current_tx_ccid()
169 if (ccid->ccid_ops->ccid_hc_tx_send_packet != NULL) in ccid_hc_tx_send_packet()
170 return ccid->ccid_ops->ccid_hc_tx_send_packet(sk, skb); in ccid_hc_tx_send_packet()
177 if (ccid->ccid_ops->ccid_hc_tx_packet_sent != NULL) in ccid_hc_tx_packet_sent()
178 ccid->ccid_ops->ccid_hc_tx_packet_sent(sk, len); in ccid_hc_tx_packet_sent()
184 if (ccid->ccid_ops->ccid_hc_rx_packet_recv != NULL) in ccid_hc_rx_packet_recv()
[all …]
Doutput.c157 if (tx_ccid == NULL || tx_ccid->ccid_ops == NULL) in dccp_determine_ccmps()
159 return tx_ccid->ccid_ops->ccid_ccmps; in dccp_determine_ccmps()