Searched refs:first_len (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/net/sctp/ |
D | chunk.c | 177 int len, first_len; in sctp_datamsg_from_user() local 225 first_len = max; in sctp_datamsg_from_user() 244 if (first_len > max_data) in sctp_datamsg_from_user() 245 first_len = max_data; in sctp_datamsg_from_user() 248 if (msg_len >= first_len) { in sctp_datamsg_from_user() 249 msg_len -= first_len; in sctp_datamsg_from_user() 263 for (i=0, len=first_len; i < whole; i++) { in sctp_datamsg_from_user()
|
/linux-2.6.39/net/ipv6/ |
D | ip6_output.c | 636 int first_len = skb_pagelen(skb); in ip6_fragment() local 639 if (first_len - hlen > mtu || in ip6_fragment() 640 ((first_len - hlen) & 7) || in ip6_fragment() 689 first_len = skb_pagelen(skb); in ip6_fragment() 690 skb->data_len = first_len - skb_headlen(skb); in ip6_fragment() 691 skb->len = first_len; in ip6_fragment() 692 ipv6_hdr(skb)->payload_len = htons(first_len - in ip6_fragment()
|
/linux-2.6.39/net/ipv4/ |
D | ip_output.c | 485 int first_len = skb_pagelen(skb); in ip_fragment() local 487 if (first_len - hlen > mtu || in ip_fragment() 488 ((first_len - hlen) & 7) || in ip_fragment() 518 skb->data_len = first_len - skb_headlen(skb); in ip_fragment() 519 skb->len = first_len; in ip_fragment() 520 iph->tot_len = htons(first_len); in ip_fragment()
|
/linux-2.6.39/drivers/net/ |
D | 8139cp.c | 796 u32 first_len, first_eor; in cp_start_xmit() local 805 first_len = skb_headlen(skb); in cp_start_xmit() 807 first_len, PCI_DMA_TODEVICE); in cp_start_xmit() 860 txd->opts1 = cpu_to_le32(first_eor | first_len | in cp_start_xmit() 864 txd->opts1 = cpu_to_le32(first_eor | first_len | in cp_start_xmit() 870 txd->opts1 = cpu_to_le32(first_eor | first_len | in cp_start_xmit()
|
D | sunhme.c | 2302 u32 first_len, first_mapping; in happy_meal_start_xmit() local 2308 first_len = skb_headlen(skb); in happy_meal_start_xmit() 2309 first_mapping = dma_map_single(hp->dma_dev, skb->data, first_len, in happy_meal_start_xmit() 2330 (tx_flags | TXFLAG_SOP | (first_len & TXFLAG_SIZE)), in happy_meal_start_xmit()
|
D | sungem.c | 1056 u32 first_len; in gem_start_xmit() local 1068 first_len = skb_headlen(skb); in gem_start_xmit() 1071 first_len, PCI_DMA_TODEVICE); in gem_start_xmit() 1103 cpu_to_le64(ctrl | TXDCTRL_SOF | intme | first_len); in gem_start_xmit()
|