Home
last modified time | relevance | path

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

12345678910>>...16

/linux-2.4.37.9/drivers/isdn/pcbit/ !
Dcapi.c88 *((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()
[all …]
/linux-2.4.37.9/drivers/isdn/tpam/ !
Dtpam_nco.c58 h = (skb_header *)skb_put(skb, sizeof(skb_header)); in build_NCOpacket()
65 p = (pci_mpb *)skb_put(skb, sizeof(pci_mpb)); in build_NCOpacket()
95 tlv = (u8 *)skb_put(skb, 3); in build_ACreateNCOReq()
100 tlv = (u8 *)skb_put(skb, 4); in build_ACreateNCOReq()
106 tlv = (u8 *)skb_put(skb, 3); in build_ACreateNCOReq()
111 tlv = (u8 *)skb_put(skb, 3); in build_ACreateNCOReq()
116 tlv = (u8 *)skb_put(skb, 4); in build_ACreateNCOReq()
122 tlv = (u8 *)skb_put(skb, 6 + strlen(phone)); in build_ACreateNCOReq()
153 tlv = (u8 *)skb_put(skb, 6); in build_ADestroyNCOReq()
182 tlv = (u8 *)skb_put(skb, 6); in build_CConnectReq()
[all …]
Dtpam_queues.c124 skbh = (skb_header *)skb_put(skb, sizeof(skb_header)); in tpam_irq()
131 memcpy(skb_put(skb, sizeof(pci_mpb)), &mpb, sizeof(pci_mpb)); in tpam_irq()
134 copy_from_pam(card, skb_put(skb, mpb.actualBlockTLVSize), in tpam_irq()
140 copy_from_pam(card, skb_put(skb, mpb.actualDataSize), in tpam_irq()
/linux-2.4.37.9/net/x25/ !
Dx25_subr.c174 dptr = skb_put(skb, 2); in x25_write_internal()
193 dptr = skb_put(skb, 1); in x25_write_internal()
196 dptr = skb_put(skb, len); in x25_write_internal()
199 dptr = skb_put(skb, len); in x25_write_internal()
201 dptr = skb_put(skb, sk->protinfo.x25->calluserdata.cudlength); in x25_write_internal()
207 dptr = skb_put(skb, 2); in x25_write_internal()
211 dptr = skb_put(skb, len); in x25_write_internal()
213 dptr = skb_put(skb, sk->protinfo.x25->calluserdata.cudlength); in x25_write_internal()
220 dptr = skb_put(skb, 3); in x25_write_internal()
230 dptr = skb_put(skb, 2); in x25_write_internal()
[all …]
Dx25_link.c135 dptr = skb_put(skb, X25_STD_MIN_LEN + 2); in x25_transmit_restart_request()
164 dptr = skb_put(skb, X25_STD_MIN_LEN); in x25_transmit_restart_confirmation()
191 dptr = skb_put(skb, X25_STD_MIN_LEN + 1); in x25_transmit_diagnostic()
220 dptr = skb_put(skb, X25_STD_MIN_LEN + 2); in x25_transmit_clear_request()
Dx25_dev.c177 ptr = skb_put(skb, 1); in x25_establish_link()
206 ptr = skb_put(skb, 1); in x25_terminate_link()
/linux-2.4.37.9/net/decnet/ !
Ddn_nsp_out.c499 msg = (struct nsp_conn_ack_msg *)skb_put(skb, 3); in dn_send_conn_ack()
537 msg = (struct nsp_conn_init_msg *)skb_put(skb, sizeof(*msg)); in dn_send_conn_conf()
545 *skb_put(skb,1) = len; in dn_send_conn_conf()
548 memcpy(skb_put(skb, len), scp->conndata_out.opt_data, len); in dn_send_conn_conf()
575 msg = skb_put(skb, size); in dn_nsp_do_disc()
679 msg = (struct nsp_conn_init_msg *)skb_put(skb,sizeof(*msg)); in dn_nsp_send_conninit()
692 skb_put(skb, dn_sockaddr2username(&scp->peer, skb->tail, type)); in dn_nsp_send_conninit()
693 skb_put(skb, dn_sockaddr2username(&scp->addr, skb->tail, 2)); in dn_nsp_send_conninit()
701 *skb_put(skb, 1) = menuver; /* Menu Version */ in dn_nsp_send_conninit()
704 *skb_put(skb, 1) = aux; in dn_nsp_send_conninit()
[all …]
/linux-2.4.37.9/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-2.4.37.9/net/irda/ !
Dirlap_frame.c121 frame = (struct snrm_frame *) skb_put(skb, 2); in irlap_send_snrm_frame()
136 skb_put(skb, 9); /* 21 left */ in irlap_send_snrm_frame()
214 frame = (struct ua_frame *) skb_put(skb, 10); in irlap_send_ua_response_frame()
254 frame = skb_put( skb, 2); in irlap_send_dm_frame()
286 frame = skb_put(skb, 2); in irlap_send_disc_frame()
319 skb_put(skb, 14); in irlap_send_discovery_xid_frame()
368 info = skb_put(skb, 2); in irlap_send_discovery_xid_frame()
372 info = skb_put(skb, 1); in irlap_send_discovery_xid_frame()
375 info = skb_put(skb, 1); in irlap_send_discovery_xid_frame()
379 info = skb_put(skb, len); in irlap_send_discovery_xid_frame()
[all …]
Dqos.c480 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
487 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
494 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
501 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
508 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
515 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
522 skb_put(skb, ret); in irlap_insert_qos_negotiation_params()
Diriap.c416 skb_put(skb, 3+name_len+attr_len); in iriap_getvaluebyclass_request()
576 skb_put(skb, 6); in iriap_getvaluebyclass_response()
594 skb_put(skb, 3 + value->len); in iriap_getvaluebyclass_response()
601 skb_put(skb, 5); in iriap_getvaluebyclass_response()
608 skb_put(skb, 3 + value->len); in iriap_getvaluebyclass_response()
617 skb_put(skb, 1); in iriap_getvaluebyclass_response()
713 skb_put(skb, 1); in iriap_send_ack()
/linux-2.4.37.9/net/lapb/ !
Dlapb_subr.c210 dptr = skb_put(skb, 1); in lapb_send_control()
214 dptr = skb_put(skb, 2); in lapb_send_control()
220 dptr = skb_put(skb, 1); in lapb_send_control()
245 dptr = skb_put(skb, 6); in lapb_transmit_frmr()
260 dptr = skb_put(skb, 4); in lapb_transmit_frmr()
/linux-2.4.37.9/drivers/bluetooth/ !
Dhci_bcsp.c123 memcpy(skb_put(skb, 1), &pkt_delim, 1); in bcsp_slip_msgdelim()
133 memcpy(skb_put(skb, 2), &esc_c0, 2); in bcsp_slip_one_byte()
136 memcpy(skb_put(skb, 2), &esc_db, 2); in bcsp_slip_one_byte()
139 memcpy(skb_put(skb, 1), &c, 1); in bcsp_slip_one_byte()
391 memcpy(skb_put(nskb, 4), conf_rsp_pkt, 4); in bcsp_handle_le_pkt()
415 memcpy(skb_put(bcsp->rx_skb, 1), &byte, 1); in bcsp_unslip_one_byte()
426 memcpy(skb_put(bcsp->rx_skb, 1), &c0, 1); in bcsp_unslip_one_byte()
435 memcpy(skb_put(bcsp->rx_skb, 1), &db, 1); in bcsp_unslip_one_byte()
Dbfusb.c342 memcpy(skb_put(bfusb->reassembly, len), data, len); in bfusb_recv_block()
372 skb_put(skb, count); in bfusb_rx_complete()
535 memcpy(skb_put(nskb, 3), buf, 3); in bfusb_send_frame()
536 memcpy(skb_put(nskb, size), skb->data + sent, size); in bfusb_send_frame()
546 memcpy(skb_put(nskb, 2), buf, 2); in bfusb_send_frame()
/linux-2.4.37.9/net/ax25/ !
Dax25_subr.c193 dptr = skb_put(skb, 1); in ax25_send_control()
200 dptr = skb_put(skb, 1); in ax25_send_control()
204 dptr = skb_put(skb, 2); in ax25_send_control()
236 dptr = skb_put(skb, 1); in ax25_return_dm()
/linux-2.4.37.9/net/rose/ !
Drose_link.c190 dptr = skb_put(skb, ROSE_MIN_LEN + 3); in rose_transmit_restart_request()
219 dptr = skb_put(skb, ROSE_MIN_LEN + 1); in rose_transmit_restart_confirmation()
246 dptr = skb_put(skb, ROSE_MIN_LEN + 2); in rose_transmit_diagnostic()
281 dptr = skb_put(skb, ROSE_MIN_LEN + 3 + faclen); in rose_transmit_clear_request()
/linux-2.4.37.9/net/irda/irlan/ !
Dirlan_common.c638 skb_put(skb, 2); in irlan_get_provider_info()
669 skb_put(skb, 2); in irlan_open_data_channel()
705 skb_put(skb, 2); in irlan_close_data_channel()
741 skb_put(skb, 2); in irlan_open_unicast_addr()
779 skb_put(skb, 2); in irlan_set_broadcast_filter()
818 skb_put(skb, 2); in irlan_set_multicast_filter()
858 skb_put(skb, 2); in irlan_get_unicast_addr()
893 skb_put(skb, 2); in irlan_get_media_char()
997 skb_put(skb, param_len+value_len+3); in __irlan_insert_param()
/linux-2.4.37.9/net/sctp/ !
Dulpevent.c151 skb_put(skb, sizeof(struct sctp_assoc_change)); in sctp_ulpevent_make_assoc_change()
253 skb_put(skb, sizeof(struct sctp_paddr_change)); in sctp_ulpevent_make_peer_addr_change()
573 skb_put(skb, sizeof(struct sctp_shutdown_event)); in sctp_ulpevent_make_shutdown_event()
636 skb_put(skb, sizeof(struct sctp_adaption_event)); in sctp_ulpevent_make_adaption_indication()
734 skb_put(skb, sizeof(struct sctp_pdapi_event)); in sctp_ulpevent_make_pdapi()
/linux-2.4.37.9/net/bluetooth/cmtp/ !
Dcore.c127 memcpy(skb_put(nskb, skb->len), skb->data, skb->len); in cmtp_add_msgpart()
129 memcpy(skb_put(nskb, count), buf, count); in cmtp_add_msgpart()
249 hdr = skb_put(nskb, 2); in cmtp_process_transmit()
255 hdr = skb_put(nskb, 3); in cmtp_process_transmit()
263 memcpy(skb_put(nskb, size), skb->data, size); in cmtp_process_transmit()
/linux-2.4.37.9/drivers/isdn/ !
Disdn_bsdcomp.c488 *(skb_put(skb_out,1)) = (unsigned char) (accm>>24); \ in bsd_compress()
515 char *v = skb_put(skb_out,2); in bsd_compress()
618 *(skb_put(skb_out,1)) = (unsigned char) ((accm | (0xff << (bitno-8))) >> 24); in bsd_compress()
714 *(skb_put(skb_out,1)) = 0; in bsd_decompress()
796 p = skb_put(skb_out,codelen); in bsd_decompress()
832 *(skb_put(skb_out,1)) = finchar; in bsd_decompress()
Disdn_v110.c424 memcpy(skb_put(skb, v->framelen), v->OfflineFrame, v->framelen); in isdn_v110_sync()
444 memcpy(skb_put(skb, v->framelen), v->OnlineFrame, v->framelen); in isdn_v110_idle()
489 memcpy(skb_put(nskb, v->framelen), v->OnlineFrame, v->framelen); in isdn_v110_encode()
495 rbuf = skb_put(nskb, size); in isdn_v110_encode()
/linux-2.4.37.9/drivers/isdn/eicon/ !
Deicon_io.c84 ind_new = (eicon_IND *)skb_put(skb_new, in eicon_io_rcv_dispatch()
180 ack = (eicon_RC *)skb_put(skb, sizeof(eicon_RC)); in eicon_idi_callback()
208 ind = (eicon_IND *)skb_put(skb, (sizeof(eicon_IND) + len - 1)); in eicon_idi_callback()
613 ack = (eicon_RC *)skb_put(skb, sizeof(eicon_RC)); in eicon_irq()
637 ind = (eicon_IND *)skb_put(skb, (sizeof(eicon_IND) + len - 1)); in eicon_irq()
673 ack = (eicon_RC *)skb_put(skb, sizeof(eicon_RC)); in eicon_irq()
706 ind = (eicon_IND *)skb_put(skb, (sizeof(eicon_IND) + len - 1)); in eicon_irq()
/linux-2.4.37.9/drivers/net/wireless/prism54/ !
Dislpci_eth.c142 skb_put(skb, 6); in islpci_eth_transmit()
171 skb_put(newskb, init_wds ? skb->len + 6 : skb->len); in islpci_eth_transmit()
358 skb_put(skb, size); in islpci_eth_receive()
362 skb_put(skb, 2); in islpci_eth_receive()
/linux-2.4.37.9/net/ipv6/ !
Dip6_output.c276 hdr = (struct ipv6hdr *) skb_put(skb, sizeof(struct ipv6hdr)); in ip6_nd_hdr()
296 skb->nh.raw = skb_put(skb, sizeof(struct ipv6hdr)); in ip6_bld_1()
314 fhdr = (struct frag_hdr *) skb_put(skb, sizeof(struct frag_hdr)); in ipv6_build_fraghdr()
466 err = getfrag(data, &hdr->saddr,skb_put(skb, frag_len), in ip6_frag_xmit()
497 skb_put(last_skb, last_len); in ip6_frag_xmit()
663 skb_put(skb, length); in ip6_build_xmit()
/linux-2.4.37.9/drivers/atm/ !
Datmtcp.c61 new_msg = (struct atmtcp_control *) skb_put(skb,sizeof(*new_msg)); in atmtcp_send_control()
213 hdr = (void *) skb_put(new_skb,sizeof(struct atmtcp_hdr)); in atmtcp_v_send()
217 memcpy(skb_put(new_skb,skb->len),skb->data,skb->len); in atmtcp_v_send()
303 memcpy(skb_put(new_skb,skb->len),skb->data,skb->len); in atmtcp_c_send()

12345678910>>...16