| /net/core/ |
| A D | tso.c | 11 int hdr_len = skb_transport_offset(skb) + tso->tlen; in tso_build_hdr() 24 iph->payload_len = htons(size + tso->tlen); in tso_build_hdr() 27 if (tso->tlen != sizeof(struct udphdr)) { in tso_build_hdr() 66 int tlen = skb_is_gso_tcp(skb) ? tcp_hdrlen(skb) : sizeof(struct udphdr); in tso_start() local 67 int hdr_len = skb_transport_offset(skb) + tlen; in tso_start() 69 tso->tlen = tlen; in tso_start() 71 tso->tcp_seq = (tlen != sizeof(struct udphdr)) ? ntohl(tcp_hdr(skb)->seq) : 0; in tso_start()
|
| A D | skbuff.c | 3183 struct pipe_inode_info *pipe, unsigned int tlen, in skb_splice_bits() argument 3197 __skb_splice_bits(skb, pipe, &offset, &tlen, &spd, sk); in skb_splice_bits()
|
| /net/ieee802154/ |
| A D | socket.c | 246 int hlen, tlen; in raw_sendmsg() local 281 tlen = dev->needed_tailroom; in raw_sendmsg() 282 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in raw_sendmsg() 615 int hlen, tlen; in dgram_sendmsg() local 658 tlen = dev->needed_tailroom; in dgram_sendmsg() 659 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in dgram_sendmsg()
|
| /net/hsr/ |
| A D | hsr_device.c | 253 int hlen, tlen; in hsr_init_skb() local 257 tlen = master->dev->needed_tailroom; in hsr_init_skb() 264 skb = dev_alloc_skb(len + extra + hlen + tlen); in hsr_init_skb()
|
| /net/ncsi/ |
| A D | ncsi-cmd.c | 283 int tlen = dev->needed_tailroom; in ncsi_alloc_command() local 285 int len = hlen + tlen; in ncsi_alloc_command()
|
| /net/ipv4/ |
| A D | raw.c | 338 int hlen, tlen; in raw_send_hdrinc() local 352 tlen = rt->dst.dev->needed_tailroom; in raw_send_hdrinc() 354 length + hlen + tlen + 15, in raw_send_hdrinc()
|
| A D | ip_sockglue.c | 114 int tlen, int offset) in ip_cmsg_recv_checksum() argument 122 int tend_off = skb_transport_offset(skb) + tlen; in ip_cmsg_recv_checksum() 170 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()
|
| A D | igmp.c | 360 int tlen = dev->needed_tailroom; in igmpv3_newpack() local 365 skb = alloc_skb(size + hlen + tlen, in igmpv3_newpack() 387 skb_tailroom_reserve(skb, mtu, tlen); in igmpv3_newpack() 741 int hlen, tlen; in igmp_send_report() local 762 tlen = dev->needed_tailroom; in igmp_send_report() 763 skb = alloc_skb(IGMP_SIZE + hlen + tlen, GFP_ATOMIC); in igmp_send_report()
|
| A D | arp.c | 555 int tlen = dev->needed_tailroom; in arp_create() local 561 skb = alloc_skb(arp_hdr_len(dev) + hlen + tlen, GFP_ATOMIC); in arp_create()
|
| A D | ipconfig.c | 830 int tlen = dev->needed_tailroom; in ic_bootp_send_if() local 833 skb = alloc_skb(sizeof(struct bootp_pkt) + hlen + tlen + 15, in ic_bootp_send_if()
|
| /net/packet/ |
| A D | af_packet.c | 2059 int tlen = dev->needed_tailroom; in packet_sendmsg_spkt() local 2063 skb = sock_wmalloc(sk, len + reserved + tlen, 0, GFP_KERNEL); in packet_sendmsg_spkt() 2787 int hlen, tlen, copylen = 0; in tpacket_snd() local 2873 tlen = dev->needed_tailroom; in tpacket_snd() 2888 hlen + tlen + sizeof(struct sockaddr_ll) + in tpacket_snd() 3007 int hlen, tlen, linear; in packet_snd() local 3070 tlen = dev->needed_tailroom; in packet_snd() 3073 skb = packet_alloc_skb(sk, hlen + tlen, hlen, len, linear, in packet_snd()
|
| /net/ipv6/ |
| A D | mcast.c | 1767 int tlen = dev->needed_tailroom; in mld_newpack() local 1779 size = min_t(int, mtu, PAGE_SIZE / 2) + hlen + tlen; in mld_newpack() 1786 skb_tailroom_reserve(skb, mtu, tlen); in mld_newpack() 2171 int tlen = dev->needed_tailroom; in igmp6_send() local 2189 skb = alloc_skb(hlen + tlen + full_len, GFP_KERNEL); in igmp6_send()
|
| A D | raw.c | 603 int tlen = rt->dst.dev->needed_tailroom; in rawv6_send_hdrinc() local 615 length + hlen + tlen + 15, in rawv6_send_hdrinc()
|
| A D | ndisc.c | 417 int tlen = dev->needed_tailroom; in ndisc_alloc_skb() local 420 skb = alloc_skb(hlen + sizeof(struct ipv6hdr) + len + tlen, GFP_ATOMIC); in ndisc_alloc_skb()
|