Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
41d6f32b
Commit
41d6f32b
authored
Jun 05, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5
parents
8dc1df2c
f28e40db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
include/linux/tcp.h
include/linux/tcp.h
+10
-4
include/linux/udp.h
include/linux/udp.h
+9
-4
No files found.
include/linux/tcp.h
View file @
41d6f32b
...
...
@@ -17,11 +17,8 @@
#ifndef _LINUX_TCP_H
#define _LINUX_TCP_H
#include <linux/config.h>
#include <linux/skbuff.h>
#include <linux/types.h>
#include <asm/byteorder.h>
#include <net/sock.h>
#include <linux/ip.h>
struct
tcphdr
{
__u16
source
;
...
...
@@ -188,6 +185,13 @@ struct tcp_info
__u32
tcpi_reordering
;
};
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/skbuff.h>
#include <linux/ip.h>
#include <net/sock.h>
/* This defines a selective acknowledgement block. */
struct
tcp_sack_block
{
__u32
start_seq
;
...
...
@@ -384,4 +388,6 @@ struct tcp_sock {
#define tcp_sk(__sk) (&((struct tcp_sock *)__sk)->tcp)
#endif
#endif
/* _LINUX_TCP_H */
include/linux/udp.h
View file @
41d6f32b
...
...
@@ -17,10 +17,7 @@
#ifndef _LINUX_UDP_H
#define _LINUX_UDP_H
#include <linux/config.h>
#include <asm/byteorder.h>
#include <net/sock.h>
#include <linux/ip.h>
#include <linux/types.h>
struct
udphdr
{
__u16
source
;
...
...
@@ -36,6 +33,12 @@ struct udphdr {
/* UDP encapsulation types */
#define UDP_ENCAP_ESPINUDP 2
/* draft-ietf-ipsec-udp-encaps-06 */
#ifdef __KERNEL__
#include <linux/config.h>
#include <net/sock.h>
#include <linux/ip.h>
struct
udp_opt
{
int
pending
;
/* Any pending frames ? */
unsigned
int
corkflag
;
/* Cork is required */
...
...
@@ -63,4 +66,6 @@ struct udp_sock {
#define udp_sk(__sk) (&((struct udp_sock *)__sk)->udp)
#endif
#endif
/* _LINUX_UDP_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment