Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 237509
b: refs/heads/master
c: 1470ddf
h: refs/heads/master
i:
  237507: 83a9cb6
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Mar 1, 2011
1 parent 64f60a5 commit 02f0213
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 108 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5a2ef92023506d4e9cd13617b5a46b4d0f1b6747
refs/heads/master: 1470ddf7f8cecf776921e5ccee72e3d2b3d60cbc
23 changes: 14 additions & 9 deletions trunk/include/net/inet_sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,19 @@ static inline struct inet_request_sock *inet_rsk(const struct request_sock *sk)
return (struct inet_request_sock *)sk;
}

struct inet_cork {
unsigned int flags;
unsigned int fragsize;
struct ip_options *opt;
struct dst_entry *dst;
int length; /* Total length of all frames */
__be32 addr;
struct flowi fl;
struct page *page;
u32 off;
u8 tx_flags;
};

struct ip_mc_socklist;
struct ipv6_pinfo;
struct rtable;
Expand Down Expand Up @@ -143,15 +156,7 @@ struct inet_sock {
int mc_index;
__be32 mc_addr;
struct ip_mc_socklist __rcu *mc_list;
struct {
unsigned int flags;
unsigned int fragsize;
struct ip_options *opt;
struct dst_entry *dst;
int length; /* Total length of all frames */
__be32 addr;
struct flowi fl;
} cork;
struct inet_cork cork;
};

#define IPCORK_OPT 1 /* ip-options has been held in ipcork.opt */
Expand Down
Loading

0 comments on commit 02f0213

Please sign in to comment.