Lines Matching refs:skb_put

88         *((ushort*) skb_put(*skb, 2)) = AppInfoMask;   in capi_conn_req()
93 *(skb_put(*skb, 1)) = 3; /* BC0.Length */ in capi_conn_req()
94 *(skb_put(*skb, 1)) = 0x80; /* Speech */ in capi_conn_req()
95 *(skb_put(*skb, 1)) = 0x10; /* Circuit Mode */ in capi_conn_req()
96 *(skb_put(*skb, 1)) = 0x23; /* A-law */ in capi_conn_req()
101 *(skb_put(*skb, 1)) = 2; /* BC0.Length */ in capi_conn_req()
102 *(skb_put(*skb, 1)) = 0x88; /* Digital Information */ in capi_conn_req()
103 *(skb_put(*skb, 1)) = 0x90; /* BC0.Octect4 */ in capi_conn_req()
107 *(skb_put(*skb, 1)) = 0; /* BC1.Length = 0 */ in capi_conn_req()
109 *(skb_put(*skb, 1)) = 1; /* ChannelID.Length = 1 */ in capi_conn_req()
110 *(skb_put(*skb, 1)) = 0x83; /* Basic Interface - Any Channel */ in capi_conn_req()
112 *(skb_put(*skb, 1)) = 0; /* Keypad.Length = 0 */ in capi_conn_req()
115 *(skb_put(*skb, 1)) = 0; /* CallingPN.Length = 0 */ in capi_conn_req()
116 *(skb_put(*skb, 1)) = 0; /* CallingPSA.Length = 0 */ in capi_conn_req()
119 *(skb_put(*skb, 1)) = strlen(calledPN) + 1; in capi_conn_req()
120 *(skb_put(*skb, 1)) = 0x81; in capi_conn_req()
121 memcpy(skb_put(*skb, strlen(calledPN)), calledPN, strlen(calledPN)); in capi_conn_req()
125 *(skb_put(*skb, 1)) = 0; /* CalledPSA.Length = 0 */ in capi_conn_req()
131 memset(skb_put(*skb, 4), 0, 4); in capi_conn_req()
145 *((ushort*) skb_put(*skb, 2) ) = chan->callref; in capi_conn_resp()
146 *(skb_put(*skb, 1)) = 0x01; /* ACCEPT_CALL */ in capi_conn_resp()
147 *(skb_put(*skb, 1)) = 0; in capi_conn_resp()
148 *(skb_put(*skb, 1)) = 0; in capi_conn_resp()
165 *((ushort*) skb_put(*skb, 2) ) = chan->callref; in capi_conn_active_req()
171 *(skb_put(*skb, 1)) = 0; /* BC.Length = 0; */ in capi_conn_active_req()
172 *(skb_put(*skb, 1)) = 0; /* ConnectedPN.Length = 0 */ in capi_conn_active_req()
173 *(skb_put(*skb, 1)) = 0; /* PSA.Length */ in capi_conn_active_req()
174 *(skb_put(*skb, 1)) = 0; /* LLC.Length = 0; */ in capi_conn_active_req()
175 *(skb_put(*skb, 1)) = 0; /* HLC.Length = 0; */ in capi_conn_active_req()
176 *(skb_put(*skb, 1)) = 0; /* UTUS.Length = 0; */ in capi_conn_active_req()
193 *((ushort*) skb_put(*skb, 2) ) = chan->callref; in capi_conn_active_resp()
213 *((ushort*) skb_put(*skb, 2) ) = chan->callref; in capi_select_proto_req()
219 *(skb_put(*skb, 1)) = 0x05; /* LAPB */ in capi_select_proto_req()
222 *(skb_put(*skb, 1)) = 0x02; in capi_select_proto_req()
228 *(skb_put(*skb, 1)) = 0x06; in capi_select_proto_req()
234 *(skb_put(*skb, 1)) = 0x03; in capi_select_proto_req()
238 *(skb_put(*skb, 1)) = (outgoing ? 0x02 : 0x42); /* Don't ask */ in capi_select_proto_req()
239 *(skb_put(*skb, 1)) = 0x00; in capi_select_proto_req()
241 *((ushort *) skb_put(*skb, 2)) = MRU; in capi_select_proto_req()
244 *(skb_put(*skb, 1)) = 0x08; /* Modulo */ in capi_select_proto_req()
245 *(skb_put(*skb, 1)) = 0x07; /* Max Window */ in capi_select_proto_req()
247 *(skb_put(*skb, 1)) = 0x01; /* No Layer3 Protocol */ in capi_select_proto_req()
259 memset(skb_put(*skb, 8), 0, 8); in capi_select_proto_req()
274 *((ushort*) skb_put(*skb, 2) ) = chan->callref; in capi_activate_transp_req()
277 *(skb_put(*skb, 1)) = chan->layer2link; /* Layer2 id */ in capi_activate_transp_req()
278 *(skb_put(*skb, 1)) = 0x00; /* Transmit by default */ in capi_activate_transp_req()
280 *((ushort *) skb_put(*skb, 2)) = MRU; in capi_activate_transp_req()
282 *(skb_put(*skb, 1)) = 0x01; /* Enables reception*/ in capi_activate_transp_req()
332 *((ushort*) skb_put(*skb, 2) ) = chan->callref; in capi_tdata_resp()
334 *(skb_put(*skb, 1)) = chan->layer2link; in capi_tdata_resp()
335 *(skb_put(*skb, 1)) = chan->r_refnum; in capi_tdata_resp()
349 *((ushort*) skb_put(*skb, 2) ) = callref; in capi_disc_req()
351 *(skb_put(*skb, 1)) = 2; /* Cause.Length = 2; */ in capi_disc_req()
352 *(skb_put(*skb, 1)) = 0x80; in capi_disc_req()
353 *(skb_put(*skb, 1)) = 0x80 | cause; in capi_disc_req()
359 *(skb_put(*skb, 1)) = 0; /* UTUS.Length = 0; */ in capi_disc_req()
372 *((ushort*) skb_put(*skb, 2)) = chan->callref; in capi_disc_resp()