diff options
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/9p/client.h | 7 | ||||
| -rw-r--r-- | include/net/inet_timewait_sock.h | 8 | ||||
| -rw-r--r-- | include/net/ip_fib.h | 3 | ||||
| -rw-r--r-- | include/net/netfilter/nf_conntrack.h | 8 | ||||
| -rw-r--r-- | include/net/netfilter/nf_nat_helper.h | 4 | ||||
| -rw-r--r-- | include/net/sctp/structs.h | 2 |
6 files changed, 17 insertions, 15 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h index e26812274b7..fb00b329f0d 100644 --- a/include/net/9p/client.h +++ b/include/net/9p/client.h | |||
| @@ -159,8 +159,7 @@ struct p9_client { | |||
| 159 | * @qid: the &p9_qid server identifier this handle points to | 159 | * @qid: the &p9_qid server identifier this handle points to |
| 160 | * @iounit: the server reported maximum transaction size for this file | 160 | * @iounit: the server reported maximum transaction size for this file |
| 161 | * @uid: the numeric uid of the local user who owns this handle | 161 | * @uid: the numeric uid of the local user who owns this handle |
| 162 | * @aux: transport specific information (unused?) | 162 | * @rdir: readdir accounting structure (allocated on demand) |
| 163 | * @rdir_fpos: tracks offset of file position when reading directory contents | ||
| 164 | * @flist: per-client-instance fid tracking | 163 | * @flist: per-client-instance fid tracking |
| 165 | * @dlist: per-dentry fid tracking | 164 | * @dlist: per-dentry fid tracking |
| 166 | * | 165 | * |
| @@ -174,9 +173,9 @@ struct p9_fid { | |||
| 174 | struct p9_qid qid; | 173 | struct p9_qid qid; |
| 175 | u32 iounit; | 174 | u32 iounit; |
| 176 | uid_t uid; | 175 | uid_t uid; |
| 177 | void *aux; | ||
| 178 | 176 | ||
| 179 | int rdir_fpos; | 177 | void *rdir; |
| 178 | |||
| 180 | struct list_head flist; | 179 | struct list_head flist; |
| 181 | struct list_head dlist; /* list of all fids attached to a dentry */ | 180 | struct list_head dlist; /* list of all fids attached to a dentry */ |
| 182 | }; | 181 | }; |
diff --git a/include/net/inet_timewait_sock.h b/include/net/inet_timewait_sock.h index b63b80fac56..f93ad90a601 100644 --- a/include/net/inet_timewait_sock.h +++ b/include/net/inet_timewait_sock.h | |||
| @@ -130,11 +130,11 @@ struct inet_timewait_sock { | |||
| 130 | __u16 tw_num; | 130 | __u16 tw_num; |
| 131 | kmemcheck_bitfield_begin(flags); | 131 | kmemcheck_bitfield_begin(flags); |
| 132 | /* And these are ours. */ | 132 | /* And these are ours. */ |
| 133 | __u8 tw_ipv6only:1, | 133 | unsigned int tw_ipv6only : 1, |
| 134 | tw_transparent:1; | 134 | tw_transparent : 1, |
| 135 | /* 14 bits hole, try to pack */ | 135 | tw_pad : 14, /* 14 bits hole */ |
| 136 | tw_ipv6_offset : 16; | ||
| 136 | kmemcheck_bitfield_end(flags); | 137 | kmemcheck_bitfield_end(flags); |
| 137 | __u16 tw_ipv6_offset; | ||
| 138 | unsigned long tw_ttd; | 138 | unsigned long tw_ttd; |
| 139 | struct inet_bind_bucket *tw_tb; | 139 | struct inet_bind_bucket *tw_tb; |
| 140 | struct hlist_node tw_death_node; | 140 | struct hlist_node tw_death_node; |
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index ef91fe924ba..4d22fabc771 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h | |||
| @@ -210,7 +210,8 @@ extern struct fib_table *fib_get_table(struct net *net, u32 id); | |||
| 210 | extern const struct nla_policy rtm_ipv4_policy[]; | 210 | extern const struct nla_policy rtm_ipv4_policy[]; |
| 211 | extern void ip_fib_init(void); | 211 | extern void ip_fib_init(void); |
| 212 | extern int fib_validate_source(__be32 src, __be32 dst, u8 tos, int oif, | 212 | extern int fib_validate_source(__be32 src, __be32 dst, u8 tos, int oif, |
| 213 | struct net_device *dev, __be32 *spec_dst, u32 *itag); | 213 | struct net_device *dev, __be32 *spec_dst, |
| 214 | u32 *itag, u32 mark); | ||
| 214 | extern void fib_select_default(struct net *net, const struct flowi *flp, | 215 | extern void fib_select_default(struct net *net, const struct flowi *flp, |
| 215 | struct fib_result *res); | 216 | struct fib_result *res); |
| 216 | 217 | ||
diff --git a/include/net/netfilter/nf_conntrack.h b/include/net/netfilter/nf_conntrack.h index cbdd6284996..5cf7270e3ff 100644 --- a/include/net/netfilter/nf_conntrack.h +++ b/include/net/netfilter/nf_conntrack.h | |||
| @@ -255,11 +255,9 @@ static inline bool nf_ct_kill(struct nf_conn *ct) | |||
| 255 | } | 255 | } |
| 256 | 256 | ||
| 257 | /* These are for NAT. Icky. */ | 257 | /* These are for NAT. Icky. */ |
| 258 | /* Update TCP window tracking data when NAT mangles the packet */ | 258 | extern s16 (*nf_ct_nat_offset)(const struct nf_conn *ct, |
| 259 | extern void nf_conntrack_tcp_update(const struct sk_buff *skb, | 259 | enum ip_conntrack_dir dir, |
| 260 | unsigned int dataoff, | 260 | u32 seq); |
| 261 | struct nf_conn *ct, int dir, | ||
| 262 | s16 offset); | ||
| 263 | 261 | ||
| 264 | /* Fake conntrack entry for untracked connections */ | 262 | /* Fake conntrack entry for untracked connections */ |
| 265 | extern struct nf_conn nf_conntrack_untracked; | 263 | extern struct nf_conn nf_conntrack_untracked; |
diff --git a/include/net/netfilter/nf_nat_helper.h b/include/net/netfilter/nf_nat_helper.h index 237a961f40e..4222220920a 100644 --- a/include/net/netfilter/nf_nat_helper.h +++ b/include/net/netfilter/nf_nat_helper.h | |||
| @@ -32,4 +32,8 @@ extern int (*nf_nat_seq_adjust_hook)(struct sk_buff *skb, | |||
| 32 | * to port ct->master->saved_proto. */ | 32 | * to port ct->master->saved_proto. */ |
| 33 | extern void nf_nat_follow_master(struct nf_conn *ct, | 33 | extern void nf_nat_follow_master(struct nf_conn *ct, |
| 34 | struct nf_conntrack_expect *this); | 34 | struct nf_conntrack_expect *this); |
| 35 | |||
| 36 | extern s16 nf_nat_get_offset(const struct nf_conn *ct, | ||
| 37 | enum ip_conntrack_dir dir, | ||
| 38 | u32 seq); | ||
| 35 | #endif | 39 | #endif |
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 6e5f0e0c796..cd2e18778f8 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
| @@ -1980,7 +1980,7 @@ void sctp_assoc_set_primary(struct sctp_association *, | |||
| 1980 | void sctp_assoc_del_nonprimary_peers(struct sctp_association *, | 1980 | void sctp_assoc_del_nonprimary_peers(struct sctp_association *, |
| 1981 | struct sctp_transport *); | 1981 | struct sctp_transport *); |
| 1982 | int sctp_assoc_set_bind_addr_from_ep(struct sctp_association *, | 1982 | int sctp_assoc_set_bind_addr_from_ep(struct sctp_association *, |
| 1983 | gfp_t); | 1983 | sctp_scope_t, gfp_t); |
| 1984 | int sctp_assoc_set_bind_addr_from_cookie(struct sctp_association *, | 1984 | int sctp_assoc_set_bind_addr_from_cookie(struct sctp_association *, |
| 1985 | struct sctp_cookie*, | 1985 | struct sctp_cookie*, |
| 1986 | gfp_t gfp); | 1986 | gfp_t gfp); |
