Skip to content
Snippets Groups Projects
Select Git revision
  • 08303c189581c985e60f588ad92a041e46b6e307
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

skbuff.c

Blame
  • skbuff.c 137.01 KiB
    /*
     *	Routines having to do with the 'struct sk_buff' memory handlers.
     *
     *	Authors:	Alan Cox <alan@lxorguk.ukuu.org.uk>
     *			Florian La Roche <rzsfl@rz.uni-sb.de>
     *
     *	Fixes:
     *		Alan Cox	:	Fixed the worst of the load
     *					balancer bugs.
     *		Dave Platt	:	Interrupt stacking fix.
     *	Richard Kooijman	:	Timestamp fixes.
     *		Alan Cox	:	Changed buffer format.
     *		Alan Cox	:	destructor hook for AF_UNIX etc.
     *		Linus Torvalds	:	Better skb_clone.
     *		Alan Cox	:	Added skb_copy.
     *		Alan Cox	:	Added all the changed routines Linus
     *					only put in the headers
     *		Ray VanTassle	:	Fixed --skb->lock in free
     *		Alan Cox	:	skb_copy copy arp field
     *		Andi Kleen	:	slabified it.
     *		Robert Olsson	:	Removed skb_head_pool
     *
     *	NOTE:
     *		The __skb_ routines should be called with interrupts
     *	disabled, or you better be *real* sure that the operation is atomic
     *	with respect to whatever list is being frobbed (e.g. via lock_sock()
     *	or via disabling bottom half handlers, etc).
     *
     *	This program is free software; you can redistribute it and/or
     *	modify it under the terms of the GNU General Public License
     *	as published by the Free Software Foundation; either version
     *	2 of the License, or (at your option) any later version.
     */
    
    /*
     *	The functions in this file will not compile correctly with gcc 2.4.x
     */
    
    #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
    
    #include <linux/module.h>
    #include <linux/types.h>
    #include <linux/kernel.h>
    #include <linux/mm.h>
    #include <linux/interrupt.h>
    #include <linux/in.h>
    #include <linux/inet.h>
    #include <linux/slab.h>
    #include <linux/tcp.h>
    #include <linux/udp.h>
    #include <linux/sctp.h>
    #include <linux/netdevice.h>
    #ifdef CONFIG_NET_CLS_ACT
    #include <net/pkt_sched.h>
    #endif
    #include <linux/string.h>
    #include <linux/skbuff.h>
    #include <linux/splice.h>
    #include <linux/cache.h>
    #include <linux/rtnetlink.h>
    #include <linux/init.h>
    #include <linux/scatterlist.h>
    #include <linux/errqueue.h>
    #include <linux/prefetch.h>
    #include <linux/if_vlan.h>
    
    #include <net/protocol.h>
    #include <net/dst.h>
    #include <net/sock.h>
    #include <net/checksum.h>