Home
last modified time | relevance | path

Searched refs:frag_len (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/drivers/net/wireless/prism54/
Dislpci_mgt.c179 int frag_len = length + PIMFOR_HEADER_SIZE; in islpci_mgt_transmit() local
185 if (frag_len > MGMT_FRAME_SIZE) { in islpci_mgt_transmit()
187 ndev->name, frag_len); in islpci_mgt_transmit()
192 p = buf.mem = kmalloc(frag_len, GFP_KERNEL); in islpci_mgt_transmit()
198 buf.size = frag_len; in islpci_mgt_transmit()
223 buf.pci_addr = pci_map_single(priv->pdev, buf.mem, frag_len, in islpci_mgt_transmit()
244 frag->size = cpu_to_le16(frag_len); in islpci_mgt_transmit()
294 u16 frag_len; in islpci_mgt_receive() local
308 frag_len = le16_to_cpu(cb->rx_data_mgmt[index].size); in islpci_mgt_receive()
314 if (frag_len > MGMT_FRAME_SIZE) { in islpci_mgt_receive()
[all …]
/linux-2.4.37.9/net/ipv6/
Dip6_output.c336 int frag_len; in ip6_frag_xmit() local
370 frag_len = (mtu - unfrag_len) & ~0x7; in ip6_frag_xmit()
373 if (frag_len <= 0) { in ip6_frag_xmit()
378 nfrags = last_len / frag_len; in ip6_frag_xmit()
391 frag_off = nfrags * frag_len; in ip6_frag_xmit()
395 last_len = frag_len; in ip6_frag_xmit()
396 frag_off -= frag_len; in ip6_frag_xmit()
405 if (frag_len < opt->opt_flen) { in ip6_frag_xmit()
415 last_skb = sock_alloc_send_skb(sk, unfrag_len + frag_len + in ip6_frag_xmit()
426 hdr = ip6_bld_1(sk, last_skb, fl, hlimit, frag_len+unfrag_len); in ip6_frag_xmit()
[all …]
/linux-2.4.37.9/drivers/ieee1394/
Deth1394.c846 int frag_off, int frag_len) in new_partial_datagram() argument
856 if (new_fragment(&new->frag_info, frag_off, frag_len) < 0) { in new_partial_datagram()
876 memcpy(new->pbuf + frag_off, frag_buf, frag_len); in new_partial_datagram()
884 char *frag_buf, int frag_off, int frag_len) in update_partial_datagram() argument
888 if (new_fragment(&pd->frag_info, frag_off, frag_len) < 0) { in update_partial_datagram()
892 memcpy(pd->pbuf + frag_off, frag_buf, frag_len); in update_partial_datagram()
/linux-2.4.37.9/drivers/net/skfp/
Dhwmtm.c1873 int frag_len[3] ; local
1901 frag_len[frag_count] = n ;
1949 frag_len[i], DMA_RD|SMT_BUF) ;
1953 BMU_OWN | BMU_CHECK | BMU_SMT_TX |frag_len[i]) ;
/linux-2.4.37.9/drivers/net/wireless/
Datmel.c453 u16 frag_seq, frag_len, frag_no; member
924 priv->frag_len = msdu_size; in frag_rx_path()
945 atmel_copy_to_host(priv->dev, &priv->rx_buf[12 + priv->frag_len], in frag_rx_path()
950 &priv->rx_buf[12 + priv->frag_len], in frag_rx_path()
960 priv->frag_len += msdu_size; in frag_rx_path()
965 if (!(skb = dev_alloc_skb(priv->frag_len + 14))) { in frag_rx_path()
969 memcpy(skb_put(skb, priv->frag_len + 12), in frag_rx_path()
971 priv->frag_len + 12); in frag_rx_path()
977 priv->stats.rx_bytes += priv->frag_len + 12; in frag_rx_path()
/linux-2.4.37.9/drivers/net/tokenring/
Dolympic.c749 int rx_ring_last_received,length, buffer_cnt, cpy_length, frag_len; in olympic_rx() local
766 frag_len = le32_to_cpu(rx_status->fragmentcnt_framelen) >> 16; in olympic_rx()
769 printk("length: %x, frag_len: %x, buffer_cnt: %x\n", length, frag_len, buffer_cnt); in olympic_rx()
850 cpy_length = (i == 1 ? frag_len : le32_to_cpu(rx_desc->res_length)); in olympic_rx()