Home
last modified time | relevance | path

Searched refs:header_length (Results 1 – 25 of 51) sorted by relevance

123

/linux-3.4.99/drivers/net/wireless/rt2x00/
Drt2x00crypto.c66 txdesc->iv_offset = txdesc->header_length; in rt2x00crypto_create_tx_descriptor()
136 void rt2x00crypto_tx_insert_iv(struct sk_buff *skb, unsigned int header_length) in rt2x00crypto_tx_insert_iv() argument
148 memmove(skb->data, skb->data + iv_len, header_length); in rt2x00crypto_tx_insert_iv()
151 memcpy(skb->data + header_length, skbdesc->iv, iv_len); in rt2x00crypto_tx_insert_iv()
158 unsigned int header_length, in rt2x00crypto_rx_insert_iv() argument
161 unsigned int payload_len = rxdesc->size - header_length; in rt2x00crypto_rx_insert_iv()
162 unsigned int align = ALIGN_SIZE(skb, header_length); in rt2x00crypto_rx_insert_iv()
209 header_length); in rt2x00crypto_rx_insert_iv()
210 transfer += header_length; in rt2x00crypto_rx_insert_iv()
221 header_length); in rt2x00crypto_rx_insert_iv()
[all …]
Drt2x00lib.h130 void rt2x00queue_insert_l2pad(struct sk_buff *skb, unsigned int header_length);
140 void rt2x00queue_remove_l2pad(struct sk_buff *skb, unsigned int header_length);
361 void rt2x00crypto_tx_insert_iv(struct sk_buff *skb, unsigned int header_length);
363 unsigned int header_length,
394 unsigned int header_length) in rt2x00crypto_tx_insert_iv() argument
399 unsigned int header_length, in rt2x00crypto_rx_insert_iv() argument
Drt2x00queue.c151 void rt2x00queue_insert_l2pad(struct sk_buff *skb, unsigned int header_length) in rt2x00queue_insert_l2pad() argument
153 unsigned int payload_length = skb->len - header_length; in rt2x00queue_insert_l2pad()
155 unsigned int payload_align = ALIGN_SIZE(skb, header_length); in rt2x00queue_insert_l2pad()
156 unsigned int l2pad = payload_length ? L2PAD_SIZE(header_length) : 0; in rt2x00queue_insert_l2pad()
175 memmove(skb->data, skb->data + header_align, header_length); in rt2x00queue_insert_l2pad()
179 memmove(skb->data + header_length + l2pad, in rt2x00queue_insert_l2pad()
180 skb->data + header_length + l2pad + payload_align, in rt2x00queue_insert_l2pad()
184 skb_trim(skb, header_length + l2pad + payload_length); in rt2x00queue_insert_l2pad()
187 void rt2x00queue_remove_l2pad(struct sk_buff *skb, unsigned int header_length) in rt2x00queue_remove_l2pad() argument
193 unsigned int l2pad = (skb->len > header_length) ? in rt2x00queue_remove_l2pad()
[all …]
Drt2x00dev.c279 unsigned int header_length, i; in rt2x00lib_txdone() local
302 header_length = ieee80211_get_hdrlen_from_skb(entry->skb); in rt2x00lib_txdone()
308 rt2x00queue_remove_l2pad(entry->skb, header_length); in rt2x00lib_txdone()
317 rt2x00crypto_tx_insert_iv(entry->skb, header_length); in rt2x00lib_txdone()
596 unsigned int header_length; in rt2x00lib_rxdone() local
641 header_length = ieee80211_get_hdrlen_from_skb(entry->skb); in rt2x00lib_rxdone()
651 rt2x00crypto_rx_insert_iv(entry->skb, header_length, in rt2x00lib_rxdone()
653 else if (header_length && in rt2x00lib_rxdone()
654 (rxdesc.size > header_length) && in rt2x00lib_rxdone()
656 rt2x00queue_remove_l2pad(entry->skb, header_length); in rt2x00lib_rxdone()
Drt2x00dump.h113 __le32 header_length; member
/linux-3.4.99/drivers/scsi/fnic/
Dwq_enet_desc.h52 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
61 (header_length & WQ_ENET_HDRLEN_MASK) | in wq_enet_desc_enc()
71 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
81 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec()
/linux-3.4.99/drivers/net/ethernet/cisco/enic/
Dwq_enet_desc.h54 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
63 (header_length & WQ_ENET_HDRLEN_MASK) | in wq_enet_desc_enc()
73 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
83 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec()
/linux-3.4.99/drivers/firewire/
Dcore-transaction.c221 packet->header_length = 4; in fw_fill_request()
247 packet->header_length = 16; in fw_fill_request()
256 packet->header_length = 16; in fw_fill_request()
262 packet->header_length = 12; in fw_fill_request()
270 packet->header_length = 16; in fw_fill_request()
447 .header_length = 12,
692 response->header_length = 12; in fw_fill_response()
703 response->header_length = 16; in fw_fill_response()
713 response->header_length = 16; in fw_fill_response()
Dohci.c173 size_t header_length; member
816 p.header_length = 16; in handle_ar_packet()
822 p.header_length = 16; in handle_ar_packet()
831 p.header_length = 16; in handle_ar_packet()
842 p.header_length = 12; in handle_ar_packet()
851 p.payload = (void *) buffer + p.header_length; in handle_ar_packet()
854 length = (p.header_length + p.payload_length + 3) / 4; in handle_ar_packet()
1311 d[0].req_count = cpu_to_le16(packet->header_length); in at_context_queue_packet()
2688 ctx->header_length, ctx->header, in flush_iso_completions()
2690 ctx->header_length = 0; in flush_iso_completions()
[all …]
Dcore-cdev.c925 size_t header_length, void *header, void *data) in iso_callback() argument
930 e = kmalloc(sizeof(*e) + header_length, GFP_ATOMIC); in iso_callback()
938 e->interrupt.header_length = header_length; in iso_callback()
939 memcpy(e->interrupt.header, header, header_length); in iso_callback()
941 sizeof(e->interrupt) + header_length, NULL, 0); in iso_callback()
1090 u.packet.header_length = GET_HEADER_LENGTH(control); in ioctl_queue_iso()
1094 if (u.packet.header_length & 3) in ioctl_queue_iso()
1096 transmit_header_bytes = u.packet.header_length; in ioctl_queue_iso()
1100 if (u.packet.header_length == 0 || in ioctl_queue_iso()
1101 u.packet.header_length % ctx->header_size != 0) in ioctl_queue_iso()
[all …]
/linux-3.4.99/include/net/
Ddatalink.h9 unsigned short header_length; member
/linux-3.4.99/include/linux/
Dfirewire.h270 size_t header_length; member
370 u32 header_length:8; /* Length of immediate header */ member
404 u32 cycle, size_t header_length,
/linux-3.4.99/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge_mcp_gen_header.h16 unsigned header_length; member
/linux-3.4.99/net/802/
Dp8023.c47 proto->header_length = 0; in make_8023_client()
Dp8022.c47 proto->header_length = 3; in register_8022_client()
Dpsnap.c143 proto->header_length = 5 + 3; /* snap + 802.2 */ in register_snap_client()
/linux-3.4.99/net/ethernet/
Dpe2.c25 proto->header_length = 0; in make_EII_client()
/linux-3.4.99/net/appletalk/
Daarp.c109 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in __aarp_send_query()
122 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in __aarp_send_query()
162 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in aarp_send_reply()
169 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in aarp_send_reply()
211 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in aarp_send_probe()
220 skb_reserve(skb, dev->hard_header_len + aarp_dl->header_length); in aarp_send_probe()
/linux-3.4.99/drivers/net/irda/
Dirda-usb.c332 urb->transfer_buffer_length = self->header_length; in irda_usb_change_speed_xbofs()
443 skb_copy_from_linear_data(skb, self->tx_buff + self->header_length, skb->len); in irda_usb_hard_xmit()
470 self->tx_buff, skb->len + self->header_length, in irda_usb_hard_xmit()
862 if (urb->actual_length <= self->header_length) { in irda_usb_receive()
919 skb_pull(dataskb, self->header_length); in irda_usb_receive()
1646 self->header_length = USB_IRDA_STIR421X_HEADER; in irda_usb_probe()
1649 self->header_length = USB_IRDA_HEADER; in irda_usb_probe()
1741 self->tx_buff = kzalloc(IRDA_SKB_MAX_MTU + self->header_length, in irda_usb_probe()
Dirda-usb.h170 __u8 header_length; /* USB-IrDA frame header size */ member
/linux-3.4.99/drivers/media/dvb/firewire/
Dfiredtv-fw.c91 p.header_length = ISO_HEADER_SIZE; in queue_iso()
98 size_t header_length, void *header, void *data) in handle_iso() argument
106 for (h = header, h_end = h + header_length / 4; h < h_end; h++) { in handle_iso()
/linux-3.4.99/sound/firewire/
Damdtp.c355 packet.header_length = 0; in queue_out_packet()
385 size_t header_length, void *header, void *data) in out_packet_callback() argument
388 unsigned int i, packets = header_length / 4; in out_packet_callback()
/linux-3.4.99/net/ieee802154/
D6lowpan.c977 int err, header_length, payload_length, tag, offset = 0; in lowpan_skb_fragmentation() local
980 header_length = lowpan_get_mac_header_length(skb); in lowpan_skb_fragmentation()
981 payload_length = skb->len - header_length; in lowpan_skb_fragmentation()
990 err = lowpan_fragment_xmit(skb, head, header_length, 0, 0); in lowpan_skb_fragmentation()
1004 err = lowpan_fragment_xmit(skb, head, header_length, in lowpan_skb_fragmentation()
/linux-3.4.99/include/acpi/
Dactbl1.h204 u32 header_length; member
310 u32 header_length; member
/linux-3.4.99/drivers/scsi/
Dscsi_lib.c1915 int header_length; in scsi_mode_sense() local
1937 header_length = 8; in scsi_mode_sense()
1944 header_length = 4; in scsi_mode_sense()
1975 header_length = 0; in scsi_mode_sense()
1994 data->header_length = header_length; in scsi_mode_sense()

123