summaryrefslogtreecommitdiffstats
path: root/net/dccp/dccp.h
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2006-11-10 11:22:32 -0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:21:55 -0800
commit9b42078ed6edfe04e9dc9a59b946ad912aeef717 (patch)
treed3d20e17aa85e1bb16b99397f98f151d197b3177 /net/dccp/dccp.h
parent89e7e57778ecd8744fee97491300f05a9fb1388a (diff)
downloadblackbird-op-linux-9b42078ed6edfe04e9dc9a59b946ad912aeef717.tar.gz
blackbird-op-linux-9b42078ed6edfe04e9dc9a59b946ad912aeef717.zip
[DCCP]: Combine allocating & zeroing header space on skb
This is a code simplification: it combines three often recurring operations into one inline function, * allocate `len' bytes header space in skb * fill these `len' bytes with zeroes * cast the start of this header space as dccp_hdr Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/dccp/dccp.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud