Home
last modified time | relevance | path

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

/net/dccp/
Dccid.c98 static int __init ccid_activate(struct ccid_operations *ccid_ops) in ccid_activate() argument
102 ccid_ops->ccid_hc_rx_slab = in ccid_activate()
103 ccid_kmem_cache_create(ccid_ops->ccid_hc_rx_obj_size, in ccid_activate()
104 ccid_ops->ccid_hc_rx_slab_name, in ccid_activate()
106 ccid_ops->ccid_id); in ccid_activate()
107 if (ccid_ops->ccid_hc_rx_slab == NULL) in ccid_activate()
110 ccid_ops->ccid_hc_tx_slab = in ccid_activate()
111 ccid_kmem_cache_create(ccid_ops->ccid_hc_tx_obj_size, in ccid_activate()
112 ccid_ops->ccid_hc_tx_slab_name, in ccid_activate()
114 ccid_ops->ccid_id); in ccid_activate()
[all …]
Dccid.h97 struct ccid_operations *ccid_ops; member
117 if (ccid == NULL || ccid->ccid_ops == NULL) in ccid_get_current_rx_ccid()
119 return ccid->ccid_ops->ccid_id; in ccid_get_current_rx_ccid()
126 if (ccid == NULL || ccid->ccid_ops == NULL) in ccid_get_current_tx_ccid()
128 return ccid->ccid_ops->ccid_id; in ccid_get_current_tx_ccid()
166 if (ccid->ccid_ops->ccid_hc_tx_send_packet != NULL) in ccid_hc_tx_send_packet()
167 return ccid->ccid_ops->ccid_hc_tx_send_packet(sk, skb); in ccid_hc_tx_send_packet()
174 if (ccid->ccid_ops->ccid_hc_tx_packet_sent != NULL) in ccid_hc_tx_packet_sent()
175 ccid->ccid_ops->ccid_hc_tx_packet_sent(sk, len); in ccid_hc_tx_packet_sent()
181 if (ccid->ccid_ops->ccid_hc_rx_packet_recv != NULL) in ccid_hc_rx_packet_recv()
[all …]
Doutput.c154 if (tx_ccid == NULL || tx_ccid->ccid_ops == NULL) in dccp_determine_ccmps()
156 return tx_ccid->ccid_ops->ccid_ccmps; in dccp_determine_ccmps()