/net/core/ |
D | tso.c | 19 int hdr_len = skb_transport_offset(skb) + tso->tlen; in tso_build_hdr() 32 iph->payload_len = htons(size + tso->tlen); in tso_build_hdr() 35 if (tso->tlen != sizeof(struct udphdr)) { in tso_build_hdr() 74 int tlen = skb_is_gso_tcp(skb) ? tcp_hdrlen(skb) : sizeof(struct udphdr); in tso_start() local 75 int hdr_len = skb_transport_offset(skb) + tlen; in tso_start() 77 tso->tlen = tlen; in tso_start() 79 tso->tcp_seq = (tlen != sizeof(struct udphdr)) ? ntohl(tcp_hdr(skb)->seq) : 0; in tso_start()
|
D | skbuff.c | 2476 struct pipe_inode_info *pipe, unsigned int tlen, in skb_splice_bits() argument 2490 __skb_splice_bits(skb, pipe, &offset, &tlen, &spd, sk); in skb_splice_bits()
|
/net/ieee802154/ |
D | socket.c | 247 int hlen, tlen; in raw_sendmsg() local 282 tlen = dev->needed_tailroom; in raw_sendmsg() 283 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in raw_sendmsg() 618 int hlen, tlen; in dgram_sendmsg() local 661 tlen = dev->needed_tailroom; in dgram_sendmsg() 662 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in dgram_sendmsg()
|
/net/hsr/ |
D | hsr_device.c | 241 int hlen, tlen; in hsr_init_skb() local 244 tlen = master->dev->needed_tailroom; in hsr_init_skb() 250 sizeof(struct hsr_sup_payload) + hlen + tlen); in hsr_init_skb()
|
/net/ncsi/ |
D | ncsi-cmd.c | 281 int tlen = dev->needed_tailroom; in ncsi_alloc_command() local 283 int len = hlen + tlen; in ncsi_alloc_command()
|
/net/ipv4/ |
D | raw.c | 356 int hlen, tlen; in raw_send_hdrinc() local 370 tlen = rt->dst.dev->needed_tailroom; in raw_send_hdrinc() 372 length + hlen + tlen + 15, in raw_send_hdrinc()
|
D | ip_sockglue.c | 116 int tlen, int offset) in ip_cmsg_recv_checksum() argument 124 int tend_off = skb_transport_offset(skb) + tlen; in ip_cmsg_recv_checksum() 172 struct sk_buff *skb, int tlen, int offset) in ip_cmsg_recv_offset() argument 235 ip_cmsg_recv_checksum(msg, skb, tlen, offset); in ip_cmsg_recv_offset()
|
D | igmp.c | 357 int tlen = dev->needed_tailroom; in igmpv3_newpack() local 362 skb = alloc_skb(size + hlen + tlen, in igmpv3_newpack() 384 skb_tailroom_reserve(skb, mtu, tlen); in igmpv3_newpack() 738 int hlen, tlen; in igmp_send_report() local 759 tlen = dev->needed_tailroom; in igmp_send_report() 760 skb = alloc_skb(IGMP_SIZE + hlen + tlen, GFP_ATOMIC); in igmp_send_report()
|
D | arp.c | 533 int tlen = dev->needed_tailroom; in arp_create() local 539 skb = alloc_skb(arp_hdr_len(dev) + hlen + tlen, GFP_ATOMIC); in arp_create()
|
D | ipconfig.c | 803 int tlen = dev->needed_tailroom; in ic_bootp_send_if() local 806 skb = alloc_skb(sizeof(struct bootp_pkt) + hlen + tlen + 15, in ic_bootp_send_if()
|
/net/packet/ |
D | af_packet.c | 1974 int tlen = dev->needed_tailroom; in packet_sendmsg_spkt() local 1978 skb = sock_wmalloc(sk, len + reserved + tlen, 0, GFP_KERNEL); in packet_sendmsg_spkt() 2690 int hlen, tlen, copylen = 0; in tpacket_snd() local 2770 tlen = dev->needed_tailroom; in tpacket_snd() 2785 hlen + tlen + sizeof(struct sockaddr_ll) + in tpacket_snd() 2910 int hlen, tlen, linear; in packet_snd() local 2975 tlen = dev->needed_tailroom; in packet_snd() 2978 skb = packet_alloc_skb(sk, hlen + tlen, hlen, len, linear, in packet_snd()
|
/net/ipv6/ |
D | mcast.c | 1596 int tlen = dev->needed_tailroom; in mld_newpack() local 1597 unsigned int size = mtu + hlen + tlen; in mld_newpack() 1610 skb_tailroom_reserve(skb, mtu, tlen); in mld_newpack() 1985 int tlen = dev->needed_tailroom; in igmp6_send() local 2007 skb = sock_alloc_send_skb(sk, hlen + tlen + full_len, 1, &err); in igmp6_send()
|
D | raw.c | 633 int tlen = rt->dst.dev->needed_tailroom; in rawv6_send_hdrinc() local 645 length + hlen + tlen + 15, in rawv6_send_hdrinc()
|
D | ndisc.c | 417 int tlen = dev->needed_tailroom; in ndisc_alloc_skb() local 421 skb = alloc_skb(hlen + sizeof(struct ipv6hdr) + len + tlen, GFP_ATOMIC); in ndisc_alloc_skb()
|