Home
last modified time | relevance | path

Searched refs:skb_put (Results 1 – 25 of 708) sorted by relevance

12345678910>>...29

/linux-3.4.99/drivers/isdn/pcbit/
Dcapi.c86 *((ushort *)skb_put(*skb, 2)) = AppInfoMask; in capi_conn_req()
91 *(skb_put(*skb, 1)) = 3; /* BC0.Length */ in capi_conn_req()
92 *(skb_put(*skb, 1)) = 0x80; /* Speech */ in capi_conn_req()
93 *(skb_put(*skb, 1)) = 0x10; /* Circuit Mode */ in capi_conn_req()
94 *(skb_put(*skb, 1)) = 0x23; /* A-law */ in capi_conn_req()
99 *(skb_put(*skb, 1)) = 2; /* BC0.Length */ in capi_conn_req()
100 *(skb_put(*skb, 1)) = 0x88; /* Digital Information */ in capi_conn_req()
101 *(skb_put(*skb, 1)) = 0x90; /* BC0.Octect4 */ in capi_conn_req()
105 *(skb_put(*skb, 1)) = 0; /* BC1.Length = 0 */ in capi_conn_req()
107 *(skb_put(*skb, 1)) = 1; /* ChannelID.Length = 1 */ in capi_conn_req()
[all …]
/linux-3.4.99/net/x25/
Dx25_subr.c166 dptr = skb_put(skb, 2); in x25_write_internal()
185 dptr = skb_put(skb, 1); in x25_write_internal()
189 dptr = skb_put(skb, len); in x25_write_internal()
195 dptr = skb_put(skb, len); in x25_write_internal()
197 dptr = skb_put(skb, x25->calluserdata.cudlength); in x25_write_internal()
204 dptr = skb_put(skb, 2); in x25_write_internal()
211 dptr = skb_put(skb, len); in x25_write_internal()
218 dptr = skb_put(skb, in x25_write_internal()
227 dptr = skb_put(skb, 3); in x25_write_internal()
234 dptr = skb_put(skb, 3); in x25_write_internal()
[all …]
/linux-3.4.99/net/decnet/
Ddn_nsp_out.c488 msg = (struct nsp_conn_ack_msg *)skb_put(skb, 3); in dn_send_conn_ack()
526 msg = (struct nsp_conn_init_msg *)skb_put(skb, sizeof(*msg)); in dn_send_conn_conf()
534 *skb_put(skb,1) = len; in dn_send_conn_conf()
537 memcpy(skb_put(skb, len), scp->conndata_out.opt_data, len); in dn_send_conn_conf()
565 msg = skb_put(skb, size); in dn_nsp_do_disc()
630 ptr = skb_put(skb, 2); in dn_nsp_send_link()
666 msg = (struct nsp_conn_init_msg *)skb_put(skb,sizeof(*msg)); in dn_nsp_send_conninit()
679 skb_put(skb, dn_sockaddr2username(&scp->peer, in dn_nsp_send_conninit()
681 skb_put(skb, dn_sockaddr2username(&scp->addr, in dn_nsp_send_conninit()
690 *skb_put(skb, 1) = menuver; /* Menu Version */ in dn_nsp_send_conninit()
[all …]
/linux-3.4.99/drivers/isdn/hysdn/
Dhycapi.c174 memcpy(skb_put(skb, sizeof(__u16)), &len, sizeof(__u16)); in hycapi_register_internal()
175 memcpy(skb_put(skb, sizeof(__u16)), &appl, sizeof(__u16)); in hycapi_register_internal()
176 memcpy(skb_put(skb, sizeof(__u8)), &_command, sizeof(_command)); in hycapi_register_internal()
177 memcpy(skb_put(skb, sizeof(__u8)), &_subcommand, sizeof(_subcommand)); in hycapi_register_internal()
178 memcpy(skb_put(skb, sizeof(__u16)), &MessageNumber, sizeof(__u16)); in hycapi_register_internal()
179 memcpy(skb_put(skb, sizeof(__u16)), &MessageBufferSize, sizeof(__u16)); in hycapi_register_internal()
180 memcpy(skb_put(skb, sizeof(__u16)), &(rp->level3cnt), sizeof(__u16)); in hycapi_register_internal()
181 memcpy(skb_put(skb, sizeof(__u16)), &(rp->datablkcnt), sizeof(__u16)); in hycapi_register_internal()
182 memcpy(skb_put(skb, sizeof(__u16)), &(rp->datablklen), sizeof(__u16)); in hycapi_register_internal()
183 memcpy(skb_put(skb, slen), ExtFeatureDefaults, slen); in hycapi_register_internal()
[all …]
/linux-3.4.99/drivers/net/wireless/p54/
Dfwio.c209 hdr = (struct p54_hdr *) skb_put(skb, sizeof(*hdr)); in p54_alloc_skb()
238 eeprom_hdr = (struct p54_eeprom_lm86 *) skb_put(skb, in p54_download_eeprom()
273 tim = (struct p54_tim *) skb_put(skb, sizeof(*tim)); in p54_update_beacon_tim()
290 sta = (struct p54_sta_unlock *)skb_put(skb, sizeof(*sta)); in p54_sta_unlock()
310 cancel = (struct p54_txcancel *)skb_put(skb, sizeof(*cancel)); in p54_tx_cancel()
327 setup = (struct p54_setup_mac *) skb_put(skb, sizeof(*setup)); in p54_setup_mac()
414 head = (struct p54_scan_head *) skb_put(skb, sizeof(*head)); in p54_scan()
421 __le16 *pa_power_points = (__le16 *) skb_put(skb, 2); in p54_scan()
425 iq_autocal = (void *) skb_put(skb, sizeof(*iq_autocal)); in p54_scan()
438 body = (void *) skb_put(skb, sizeof(body->longbow)); in p54_scan()
[all …]
/linux-3.4.99/drivers/isdn/gigaset/
Dasyncdata.c495 *(skb_put(hdlc_skb, 1)) = PPP_FLAG; in HDLC_Encode()
500 *(skb_put(hdlc_skb, 1)) = PPP_ESCAPE; in HDLC_Encode()
501 *(skb_put(hdlc_skb, 1)) = (*skb->data++) ^ PPP_TRANS; in HDLC_Encode()
503 *(skb_put(hdlc_skb, 1)) = *skb->data++; in HDLC_Encode()
509 *(skb_put(hdlc_skb, 1)) = PPP_ESCAPE; in HDLC_Encode()
512 *(skb_put(hdlc_skb, 1)) = c; in HDLC_Encode()
516 *(skb_put(hdlc_skb, 1)) = PPP_ESCAPE; in HDLC_Encode()
519 *(skb_put(hdlc_skb, 1)) = c; in HDLC_Encode()
521 *(skb_put(hdlc_skb, 1)) = PPP_FLAG; in HDLC_Encode()
564 *(skb_put(iraw_skb, 1)) = c; in iraw_encode()
[all …]
/linux-3.4.99/drivers/net/wireless/ipw2x00/
Dlibipw_tx.c362 memcpy(skb_put(skb_new, hdr_len), &header, hdr_len); in libipw_xmit()
364 libipw_copy_snap(skb_put(skb_new, SNAP_SIZE + sizeof(u16)), in libipw_xmit()
366 skb_copy_from_linear_data(skb, skb_put(skb_new, skb->len), skb->len); in libipw_xmit()
443 (struct libipw_hdr_3addrqos *)skb_put(skb_frag, hdr_len); in libipw_xmit()
459 skb_put(skb_frag, 4); in libipw_xmit()
474 (struct libipw_hdr_3addrqos *)skb_put(skb_frag, hdr_len); in libipw_xmit()
489 libipw_copy_snap(skb_put in libipw_xmit()
495 skb_copy_from_linear_data(skb, skb_put(skb_frag, bytes), bytes); in libipw_xmit()
507 skb_put(skb_frag, 4); in libipw_xmit()
/linux-3.4.99/net/dsa/
Dtag_trailer.c47 skb_copy_and_csum_dev(skb, skb_put(nskb, skb->len)); in trailer_xmit()
51 u8 *pad = skb_put(nskb, padlen); in trailer_xmit()
55 trailer = skb_put(nskb, 4); in trailer_xmit()
/linux-3.4.99/net/lapb/
Dlapb_subr.c241 dptr = skb_put(skb, 1); in lapb_send_control()
245 dptr = skb_put(skb, 2); in lapb_send_control()
251 dptr = skb_put(skb, 1); in lapb_send_control()
276 dptr = skb_put(skb, 6); in lapb_transmit_frmr()
294 dptr = skb_put(skb, 4); in lapb_transmit_frmr()
/linux-3.4.99/net/irda/
Dirlap_frame.c136 frame = (struct snrm_frame *) skb_put(tx_skb, 2); in irlap_send_snrm_frame()
151 skb_put(tx_skb, 9); /* 25 left */ in irlap_send_snrm_frame()
231 frame = (struct ua_frame *) skb_put(tx_skb, 10); in irlap_send_ua_response_frame()
271 frame = (struct dm_frame *)skb_put(tx_skb, 2); in irlap_send_dm_frame()
303 frame = (struct disc_frame *)skb_put(tx_skb, 2); in irlap_send_disc_frame()
337 skb_put(tx_skb, 14); in irlap_send_discovery_xid_frame()
386 info = skb_put(tx_skb, 2); in irlap_send_discovery_xid_frame()
390 info = skb_put(tx_skb, 1); in irlap_send_discovery_xid_frame()
393 info = skb_put(tx_skb, 1); in irlap_send_discovery_xid_frame()
397 info = skb_put(tx_skb, len); in irlap_send_discovery_xid_frame()
[all …]
Dqos.c478 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
485 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
492 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
499 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
506 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
513 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
520 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
/linux-3.4.99/net/key/
Daf_key.c332 hdr = (struct sadb_msg *) skb_put(skb, sizeof(struct sadb_msg)); in pfkey_error()
794 hdr = (struct sadb_msg *) skb_put(skb, sizeof(struct sadb_msg)); in __pfkey_xfrm_state2msg()
799 sa = (struct sadb_sa *) skb_put(skb, sizeof(struct sadb_sa)); in __pfkey_xfrm_state2msg()
843 lifetime = (struct sadb_lifetime *) skb_put(skb, in __pfkey_xfrm_state2msg()
855 lifetime = (struct sadb_lifetime *) skb_put(skb, in __pfkey_xfrm_state2msg()
866 lifetime = (struct sadb_lifetime *) skb_put(skb, in __pfkey_xfrm_state2msg()
876 addr = (struct sadb_address*) skb_put(skb, in __pfkey_xfrm_state2msg()
896 addr = (struct sadb_address*) skb_put(skb, in __pfkey_xfrm_state2msg()
914 addr = (struct sadb_address*) skb_put(skb, in __pfkey_xfrm_state2msg()
932 key = (struct sadb_key *) skb_put(skb, in __pfkey_xfrm_state2msg()
[all …]
/linux-3.4.99/drivers/staging/wlags49_h2/
Dwl_version.h166 BLOCK_INPUT(skb_put((skb), (count)), (count)); \
170 BLOCK_INPUT_DMA(skb_put((skb), (count)), (count)); \
/linux-3.4.99/net/ax25/
Dax25_subr.c164 dptr = skb_put(skb, 1); in ax25_send_control()
171 dptr = skb_put(skb, 1); in ax25_send_control()
175 dptr = skb_put(skb, 2); in ax25_send_control()
207 dptr = skb_put(skb, 1); in ax25_return_dm()
/linux-3.4.99/drivers/net/usb/
Dzaurus.c79 *skb_put (skb, 1) = fcs & 0xff; in zaurus_tx_fixup()
80 *skb_put (skb, 1) = (fcs>> 8) & 0xff; in zaurus_tx_fixup()
81 *skb_put (skb, 1) = (fcs>>16) & 0xff; in zaurus_tx_fixup()
82 *skb_put (skb, 1) = (fcs>>24) & 0xff; in zaurus_tx_fixup()
/linux-3.4.99/drivers/net/wireless/mwifiex/
D11n_aggr.c65 skb_put(skb_aggr, sizeof(*tx_header)); in mwifiex_11n_form_amsdu_pkt()
85 skb_put(skb_aggr, skb_src->len); in mwifiex_11n_form_amsdu_pkt()
90 skb_put(skb_aggr, *pad); in mwifiex_11n_form_amsdu_pkt()
218 skb_put(skb_aggr, pad); in mwifiex_11n_aggregate_pkt()
/linux-3.4.99/net/nfc/llcp/
Dcommands.c186 memcpy(skb_put(pdu, LLCP_HEADER_SIZE), header, LLCP_HEADER_SIZE); in llcp_add_header()
199 memcpy(skb_put(pdu, tlv_length), tlv, tlv_length); in llcp_add_tlv()
421 memcpy(skb_put(skb, 1), &reason, 1); in nfc_llcp_send_dm()
487 skb_put(pdu, LLCP_SEQUENCE_SIZE); in nfc_llcp_send_i_frame()
489 memcpy(skb_put(pdu, frag_len), msg_ptr, frag_len); in nfc_llcp_send_i_frame()
523 skb_put(skb, LLCP_SEQUENCE_SIZE); in nfc_llcp_send_rr()
/linux-3.4.99/drivers/bluetooth/
Dhci_bcsp.c130 memcpy(skb_put(skb, 1), &pkt_delim, 1); in bcsp_slip_msgdelim()
140 memcpy(skb_put(skb, 2), &esc_c0, 2); in bcsp_slip_one_byte()
143 memcpy(skb_put(skb, 2), &esc_db, 2); in bcsp_slip_one_byte()
146 memcpy(skb_put(skb, 1), &c, 1); in bcsp_slip_one_byte()
411 memcpy(skb_put(nskb, 4), conf_rsp_pkt, 4); in bcsp_handle_le_pkt()
435 memcpy(skb_put(bcsp->rx_skb, 1), &byte, 1); in bcsp_unslip_one_byte()
446 memcpy(skb_put(bcsp->rx_skb, 1), &c0, 1); in bcsp_unslip_one_byte()
455 memcpy(skb_put(bcsp->rx_skb, 1), &db, 1); in bcsp_unslip_one_byte()
/linux-3.4.99/net/sctp/
Dulpevent.c174 sac = (struct sctp_assoc_change *) skb_put(skb, in sctp_ulpevent_make_assoc_change()
278 skb_put(skb, sizeof(struct sctp_paddr_change)); in sctp_ulpevent_make_peer_addr_change()
598 skb_put(skb, sizeof(struct sctp_shutdown_event)); in sctp_ulpevent_make_shutdown_event()
661 skb_put(skb, sizeof(struct sctp_adaptation_event)); in sctp_ulpevent_make_adaptation_indication()
792 skb_put(skb, sizeof(struct sctp_pdapi_event)); in sctp_ulpevent_make_pdapi()
844 skb_put(skb, sizeof(struct sctp_authkey_event)); in sctp_ulpevent_make_authkey()
883 skb_put(skb, sizeof(struct sctp_sender_dry_event)); in sctp_ulpevent_make_sender_dry_event()
/linux-3.4.99/net/bluetooth/cmtp/
Dcore.c122 skb_copy_from_linear_data(skb, skb_put(nskb, skb->len), skb->len); in cmtp_add_msgpart()
124 memcpy(skb_put(nskb, count), buf, count); in cmtp_add_msgpart()
244 hdr = skb_put(nskb, 2); in cmtp_process_transmit()
250 hdr = skb_put(nskb, 3); in cmtp_process_transmit()
258 skb_copy_from_linear_data(skb, skb_put(nskb, size), size); in cmtp_process_transmit()
/linux-3.4.99/net/mac80211/
Dspectmgmt.c39 msr_report = (struct ieee80211_mgmt *)skb_put(skb, 24); in ieee80211_send_refuse_measurement_request()
47 skb_put(skb, 1 + sizeof(msr_report->u.action.u.measurement)); in ieee80211_send_refuse_measurement_request()
Dmesh.c232 pos = skb_put(skb, 2 + meshconf_len); in mesh_add_meshconf_ie()
270 pos = skb_put(skb, 2 + ifmsh->mesh_id_len); in mesh_add_meshid_ie()
297 memcpy(skb_put(skb, len), data, len); in mesh_add_vendor_ies()
326 memcpy(skb_put(skb, len), data, len); in mesh_add_rsn_ie()
344 pos = skb_put(skb, 2 + 1); in mesh_add_ds_params_ie()
368 pos = skb_put(skb, 2 + sizeof(struct ieee80211_ht_cap)); in mesh_add_ht_cap_ie()
391 pos = skb_put(skb, 2 + sizeof(struct ieee80211_ht_info)); in mesh_add_ht_info_ie()
/linux-3.4.99/net/irda/irlan/
Dirlan_common.c652 skb_put(skb, 2); in irlan_get_provider_info()
686 skb_put(skb, 2); in irlan_open_data_channel()
724 skb_put(skb, 2); in irlan_close_data_channel()
764 skb_put(skb, 2); in irlan_open_unicast_addr()
807 skb_put(skb, 2); in irlan_set_broadcast_filter()
851 skb_put(skb, 2); in irlan_set_multicast_filter()
896 skb_put(skb, 2); in irlan_get_unicast_addr()
934 skb_put(skb, 2); in irlan_get_media_char()
1038 skb_put(skb, param_len+value_len+3); in __irlan_insert_param()
/linux-3.4.99/drivers/staging/rtl8187se/ieee80211/
Dieee80211_tx.c480 frag_hdr = (struct ieee80211_hdr_3addrqos *)skb_put(skb_frag, hdr_len); in ieee80211_rtl_xmit()
508 skb_put(skb_frag, SNAP_SIZE + sizeof(u16)), in ieee80211_rtl_xmit()
513 memcpy(skb_put(skb_frag, bytes), skb->data, bytes); in ieee80211_rtl_xmit()
524 skb_put(skb_frag, 4); in ieee80211_rtl_xmit()
556 memcpy(skb_put(txb->fragments[0],skb->len), skb->data, skb->len); in ieee80211_rtl_xmit()
/linux-3.4.99/net/rose/
Drose_link.c194 dptr = skb_put(skb, ROSE_MIN_LEN + 3); in rose_transmit_restart_request()
223 dptr = skb_put(skb, ROSE_MIN_LEN + 1); in rose_transmit_restart_confirmation()
251 dptr = skb_put(skb, ROSE_MIN_LEN + 3); in rose_transmit_clear_request()

12345678910>>...29