aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/net')
-rw-r--r--include/net/addrconf.h2
-rw-r--r--include/net/af_unix.h2
-rw-r--r--include/net/compat.h8
-rw-r--r--include/net/dn.h2
-rw-r--r--include/net/dn_fib.h6
-rw-r--r--include/net/dn_route.h4
-rw-r--r--include/net/dst_ops.h2
-rw-r--r--include/net/icmp.h2
-rw-r--r--include/net/if_inet6.h2
-rw-r--r--include/net/ip6_route.h2
-rw-r--r--include/net/ip_fib.h4
-rw-r--r--include/net/ip_vs.h16
-rw-r--r--include/net/ipv6.h2
-rw-r--r--include/net/llc_c_ev.h2
-rw-r--r--include/net/neighbour.h4
-rw-r--r--include/net/netns/hash.h2
-rw-r--r--include/net/nfc/nfc.h2
-rw-r--r--include/net/pkt_sched.h2
-rw-r--r--include/net/route.h6
-rw-r--r--include/net/sctp/structs.h8
-rw-r--r--include/net/tcp.h2
-rw-r--r--include/net/udp.h2
-rw-r--r--include/net/wimax.h4
-rw-r--r--include/net/x25.h2
24 files changed, 45 insertions, 45 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h
index 757a17638b1b..27f450ba9514 100644
--- a/include/net/addrconf.h
+++ b/include/net/addrconf.h
@@ -92,7 +92,7 @@ extern void addrconf_leave_solict(struct inet6_dev *idev,
92 const struct in6_addr *addr); 92 const struct in6_addr *addr);
93 93
94static inline unsigned long addrconf_timeout_fixup(u32 timeout, 94static inline unsigned long addrconf_timeout_fixup(u32 timeout,
95 unsigned unit) 95 unsigned int unit)
96{ 96{
97 if (timeout == 0xffffffff) 97 if (timeout == 0xffffffff)
98 return ~0UL; 98 return ~0UL;
diff --git a/include/net/af_unix.h b/include/net/af_unix.h
index ca68e2cef230..2ee33da36a7a 100644
--- a/include/net/af_unix.h
+++ b/include/net/af_unix.h
@@ -22,7 +22,7 @@ extern struct hlist_head unix_socket_table[UNIX_HASH_SIZE + 1];
22struct unix_address { 22struct unix_address {
23 atomic_t refcnt; 23 atomic_t refcnt;
24 int len; 24 int len;
25 unsigned hash; 25 unsigned int hash;
26 struct sockaddr_un name[0]; 26 struct sockaddr_un name[0];
27}; 27};
28 28
diff --git a/include/net/compat.h b/include/net/compat.h
index a974ae92d182..6e9565324989 100644
--- a/include/net/compat.h
+++ b/include/net/compat.h
@@ -42,12 +42,12 @@ extern int compat_sock_get_timestampns(struct sock *, struct timespec __user *);
42 42
43extern int get_compat_msghdr(struct msghdr *, struct compat_msghdr __user *); 43extern int get_compat_msghdr(struct msghdr *, struct compat_msghdr __user *);
44extern int verify_compat_iovec(struct msghdr *, struct iovec *, struct sockaddr_storage *, int); 44extern int verify_compat_iovec(struct msghdr *, struct iovec *, struct sockaddr_storage *, int);
45extern asmlinkage long compat_sys_sendmsg(int,struct compat_msghdr __user *,unsigned); 45extern asmlinkage long compat_sys_sendmsg(int,struct compat_msghdr __user *,unsigned int);
46extern asmlinkage long compat_sys_sendmmsg(int, struct compat_mmsghdr __user *, 46extern asmlinkage long compat_sys_sendmmsg(int, struct compat_mmsghdr __user *,
47 unsigned, unsigned); 47 unsigned int, unsigned int);
48extern asmlinkage long compat_sys_recvmsg(int,struct compat_msghdr __user *,unsigned); 48extern asmlinkage long compat_sys_recvmsg(int,struct compat_msghdr __user *,unsigned int);
49extern asmlinkage long compat_sys_recvmmsg(int, struct compat_mmsghdr __user *, 49extern asmlinkage long compat_sys_recvmmsg(int, struct compat_mmsghdr __user *,
50 unsigned, unsigned, 50 unsigned int, unsigned int,
51 struct compat_timespec __user *); 51 struct compat_timespec __user *);
52extern asmlinkage long compat_sys_getsockopt(int, int, int, char __user *, int __user *); 52extern asmlinkage long compat_sys_getsockopt(int, int, int, char __user *, int __user *);
53extern int put_cmsg_compat(struct msghdr*, int, int, int, void *); 53extern int put_cmsg_compat(struct msghdr*, int, int, int, void *);
diff --git a/include/net/dn.h b/include/net/dn.h
index 814af0b9387d..c88bf4ebd330 100644
--- a/include/net/dn.h
+++ b/include/net/dn.h
@@ -199,7 +199,7 @@ static inline void dn_sk_ports_copy(struct flowidn *fld, struct dn_scp *scp)
199 fld->fld_dport = scp->addrrem; 199 fld->fld_dport = scp->addrrem;
200} 200}
201 201
202extern unsigned dn_mss_from_pmtu(struct net_device *dev, int mtu); 202extern unsigned int dn_mss_from_pmtu(struct net_device *dev, int mtu);
203 203
204#define DN_MENUVER_ACC 0x01 204#define DN_MENUVER_ACC 0x01
205#define DN_MENUVER_USR 0x02 205#define DN_MENUVER_USR 0x02
diff --git a/include/net/dn_fib.h b/include/net/dn_fib.h
index 782ef7cb4930..1ee9d4bda30d 100644
--- a/include/net/dn_fib.h
+++ b/include/net/dn_fib.h
@@ -31,7 +31,7 @@ struct dn_fib_res {
31 31
32struct dn_fib_nh { 32struct dn_fib_nh {
33 struct net_device *nh_dev; 33 struct net_device *nh_dev;
34 unsigned nh_flags; 34 unsigned int nh_flags;
35 unsigned char nh_scope; 35 unsigned char nh_scope;
36 int nh_weight; 36 int nh_weight;
37 int nh_power; 37 int nh_power;
@@ -45,7 +45,7 @@ struct dn_fib_info {
45 int fib_treeref; 45 int fib_treeref;
46 atomic_t fib_clntref; 46 atomic_t fib_clntref;
47 int fib_dead; 47 int fib_dead;
48 unsigned fib_flags; 48 unsigned int fib_flags;
49 int fib_protocol; 49 int fib_protocol;
50 __le16 fib_prefsrc; 50 __le16 fib_prefsrc;
51 __u32 fib_priority; 51 __u32 fib_priority;
@@ -140,7 +140,7 @@ extern void dn_fib_table_cleanup(void);
140 */ 140 */
141extern void dn_fib_rules_init(void); 141extern void dn_fib_rules_init(void);
142extern void dn_fib_rules_cleanup(void); 142extern void dn_fib_rules_cleanup(void);
143extern unsigned dnet_addr_type(__le16 addr); 143extern unsigned int dnet_addr_type(__le16 addr);
144extern int dn_fib_lookup(struct flowidn *fld, struct dn_fib_res *res); 144extern int dn_fib_lookup(struct flowidn *fld, struct dn_fib_res *res);
145 145
146extern int dn_fib_dump(struct sk_buff *skb, struct netlink_callback *cb); 146extern int dn_fib_dump(struct sk_buff *skb, struct netlink_callback *cb);
diff --git a/include/net/dn_route.h b/include/net/dn_route.h
index 81712cfa1ddf..c507e05d172f 100644
--- a/include/net/dn_route.h
+++ b/include/net/dn_route.h
@@ -76,8 +76,8 @@ struct dn_route {
76 __le16 rt_src_map; 76 __le16 rt_src_map;
77 __le16 rt_dst_map; 77 __le16 rt_dst_map;
78 78
79 unsigned rt_flags; 79 unsigned int rt_flags;
80 unsigned rt_type; 80 unsigned int rt_type;
81}; 81};
82 82
83static inline bool dn_is_input_route(struct dn_route *rt) 83static inline bool dn_is_input_route(struct dn_route *rt)
diff --git a/include/net/dst_ops.h b/include/net/dst_ops.h
index e1c2ee0eef47..3682a0a076c1 100644
--- a/include/net/dst_ops.h
+++ b/include/net/dst_ops.h
@@ -12,7 +12,7 @@ struct sk_buff;
12struct dst_ops { 12struct dst_ops {
13 unsigned short family; 13 unsigned short family;
14 __be16 protocol; 14 __be16 protocol;
15 unsigned gc_thresh; 15 unsigned int gc_thresh;
16 16
17 int (*gc)(struct dst_ops *ops); 17 int (*gc)(struct dst_ops *ops);
18 struct dst_entry * (*check)(struct dst_entry *, __u32 cookie); 18 struct dst_entry * (*check)(struct dst_entry *, __u32 cookie);
diff --git a/include/net/icmp.h b/include/net/icmp.h
index ce70a581d95c..9ac2524d1402 100644
--- a/include/net/icmp.h
+++ b/include/net/icmp.h
@@ -25,7 +25,7 @@
25 25
26struct icmp_err { 26struct icmp_err {
27 int errno; 27 int errno;
28 unsigned fatal:1; 28 unsigned int fatal:1;
29}; 29};
30 30
31extern const struct icmp_err icmp_err_convert[]; 31extern const struct icmp_err icmp_err_convert[];
diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h
index 51a7031b4aa3..50f325fd0691 100644
--- a/include/net/if_inet6.h
+++ b/include/net/if_inet6.h
@@ -120,7 +120,7 @@ struct ifmcaddr6 {
120 unsigned char mca_crcount; 120 unsigned char mca_crcount;
121 unsigned long mca_sfcount[2]; 121 unsigned long mca_sfcount[2];
122 struct timer_list mca_timer; 122 struct timer_list mca_timer;
123 unsigned mca_flags; 123 unsigned int mca_flags;
124 int mca_users; 124 int mca_users;
125 atomic_t mca_refcnt; 125 atomic_t mca_refcnt;
126 spinlock_t mca_lock; 126 spinlock_t mca_lock;
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index 2ad92ca4e6f3..c062b6773cc7 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -146,7 +146,7 @@ struct rt6_rtnl_dump_arg {
146 146
147extern int rt6_dump_route(struct rt6_info *rt, void *p_arg); 147extern int rt6_dump_route(struct rt6_info *rt, void *p_arg);
148extern void rt6_ifdown(struct net *net, struct net_device *dev); 148extern void rt6_ifdown(struct net *net, struct net_device *dev);
149extern void rt6_mtu_change(struct net_device *dev, unsigned mtu); 149extern void rt6_mtu_change(struct net_device *dev, unsigned int mtu);
150extern void rt6_remove_prefsrc(struct inet6_ifaddr *ifp); 150extern void rt6_remove_prefsrc(struct inet6_ifaddr *ifp);
151 151
152 152
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index 10422ef14e28..78df0866cc38 100644
--- a/include/net/ip_fib.h
+++ b/include/net/ip_fib.h
@@ -49,7 +49,7 @@ struct fib_nh {
49 struct net_device *nh_dev; 49 struct net_device *nh_dev;
50 struct hlist_node nh_hash; 50 struct hlist_node nh_hash;
51 struct fib_info *nh_parent; 51 struct fib_info *nh_parent;
52 unsigned nh_flags; 52 unsigned int nh_flags;
53 unsigned char nh_scope; 53 unsigned char nh_scope;
54#ifdef CONFIG_IP_ROUTE_MULTIPATH 54#ifdef CONFIG_IP_ROUTE_MULTIPATH
55 int nh_weight; 55 int nh_weight;
@@ -74,7 +74,7 @@ struct fib_info {
74 struct net *fib_net; 74 struct net *fib_net;
75 int fib_treeref; 75 int fib_treeref;
76 atomic_t fib_clntref; 76 atomic_t fib_clntref;
77 unsigned fib_flags; 77 unsigned int fib_flags;
78 unsigned char fib_dead; 78 unsigned char fib_dead;
79 unsigned char fib_protocol; 79 unsigned char fib_protocol;
80 unsigned char fib_scope; 80 unsigned char fib_scope;
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index 2bdee51ba30d..a903a828bcef 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -580,8 +580,8 @@ struct ip_vs_service_user_kern {
580 /* virtual service options */ 580 /* virtual service options */
581 char *sched_name; 581 char *sched_name;
582 char *pe_name; 582 char *pe_name;
583 unsigned flags; /* virtual service flags */ 583 unsigned int flags; /* virtual service flags */
584 unsigned timeout; /* persistent timeout in sec */ 584 unsigned int timeout; /* persistent timeout in sec */
585 u32 netmask; /* persistent netmask */ 585 u32 netmask; /* persistent netmask */
586}; 586};
587 587
@@ -592,7 +592,7 @@ struct ip_vs_dest_user_kern {
592 u16 port; 592 u16 port;
593 593
594 /* real server options */ 594 /* real server options */
595 unsigned conn_flags; /* connection flags */ 595 unsigned int conn_flags; /* connection flags */
596 int weight; /* destination weight */ 596 int weight; /* destination weight */
597 597
598 /* thresholds for active connections */ 598 /* thresholds for active connections */
@@ -616,8 +616,8 @@ struct ip_vs_service {
616 union nf_inet_addr addr; /* IP address for virtual service */ 616 union nf_inet_addr addr; /* IP address for virtual service */
617 __be16 port; /* port number for the service */ 617 __be16 port; /* port number for the service */
618 __u32 fwmark; /* firewall mark of the service */ 618 __u32 fwmark; /* firewall mark of the service */
619 unsigned flags; /* service status flags */ 619 unsigned int flags; /* service status flags */
620 unsigned timeout; /* persistent timeout in ticks */ 620 unsigned int timeout; /* persistent timeout in ticks */
621 __be32 netmask; /* grouping granularity */ 621 __be32 netmask; /* grouping granularity */
622 struct net *net; 622 struct net *net;
623 623
@@ -647,7 +647,7 @@ struct ip_vs_dest {
647 u16 af; /* address family */ 647 u16 af; /* address family */
648 __be16 port; /* port number of the server */ 648 __be16 port; /* port number of the server */
649 union nf_inet_addr addr; /* IP address of the server */ 649 union nf_inet_addr addr; /* IP address of the server */
650 volatile unsigned flags; /* dest status flags */ 650 volatile unsigned int flags; /* dest status flags */
651 atomic_t conn_flags; /* flags to copy to conn */ 651 atomic_t conn_flags; /* flags to copy to conn */
652 atomic_t weight; /* server weight */ 652 atomic_t weight; /* server weight */
653 653
@@ -953,7 +953,7 @@ static inline int sysctl_sync_ver(struct netns_ipvs *ipvs)
953 * IPVS core functions 953 * IPVS core functions
954 * (from ip_vs_core.c) 954 * (from ip_vs_core.c)
955 */ 955 */
956extern const char *ip_vs_proto_name(unsigned proto); 956extern const char *ip_vs_proto_name(unsigned int proto);
957extern void ip_vs_init_hash_table(struct list_head *table, int rows); 957extern void ip_vs_init_hash_table(struct list_head *table, int rows);
958#define IP_VS_INIT_HASH_TABLE(t) ip_vs_init_hash_table((t), ARRAY_SIZE((t))) 958#define IP_VS_INIT_HASH_TABLE(t) ip_vs_init_hash_table((t), ARRAY_SIZE((t)))
959 959
@@ -1014,7 +1014,7 @@ extern void ip_vs_conn_fill_cport(struct ip_vs_conn *cp, __be16 cport);
1014 1014
1015struct ip_vs_conn *ip_vs_conn_new(const struct ip_vs_conn_param *p, 1015struct ip_vs_conn *ip_vs_conn_new(const struct ip_vs_conn_param *p,
1016 const union nf_inet_addr *daddr, 1016 const union nf_inet_addr *daddr,
1017 __be16 dport, unsigned flags, 1017 __be16 dport, unsigned int flags,
1018 struct ip_vs_dest *dest, __u32 fwmark); 1018 struct ip_vs_dest *dest, __u32 fwmark);
1019extern void ip_vs_conn_expire_now(struct ip_vs_conn *cp); 1019extern void ip_vs_conn_expire_now(struct ip_vs_conn *cp);
1020 1020
diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index e4170a22fc6f..2d3fca37c6a6 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -345,7 +345,7 @@ static inline int ipv6_addr_equal(const struct in6_addr *a1,
345static inline int __ipv6_prefix_equal(const __be32 *a1, const __be32 *a2, 345static inline int __ipv6_prefix_equal(const __be32 *a1, const __be32 *a2,
346 unsigned int prefixlen) 346 unsigned int prefixlen)
347{ 347{
348 unsigned pdw, pbi; 348 unsigned int pdw, pbi;
349 349
350 /* check complete u32 in prefix */ 350 /* check complete u32 in prefix */
351 pdw = prefixlen >> 5; 351 pdw = prefixlen >> 5;
diff --git a/include/net/llc_c_ev.h b/include/net/llc_c_ev.h
index 23a409381fa9..6ca3113df39e 100644
--- a/include/net/llc_c_ev.h
+++ b/include/net/llc_c_ev.h
@@ -264,6 +264,6 @@ extern int llc_conn_ev_qlfy_set_status_rst_done(struct sock *sk,
264static __inline__ int llc_conn_space(struct sock *sk, struct sk_buff *skb) 264static __inline__ int llc_conn_space(struct sock *sk, struct sk_buff *skb)
265{ 265{
266 return atomic_read(&sk->sk_rmem_alloc) + skb->truesize < 266 return atomic_read(&sk->sk_rmem_alloc) + skb->truesize <
267 (unsigned)sk->sk_rcvbuf; 267 (unsigned int)sk->sk_rcvbuf;
268} 268}
269#endif /* LLC_C_EV_H */ 269#endif /* LLC_C_EV_H */
diff --git a/include/net/neighbour.h b/include/net/neighbour.h
index 63ebd70ba693..6cdfeedb650b 100644
--- a/include/net/neighbour.h
+++ b/include/net/neighbour.h
@@ -322,7 +322,7 @@ static inline int neigh_event_send(struct neighbour *neigh, struct sk_buff *skb)
322#ifdef CONFIG_BRIDGE_NETFILTER 322#ifdef CONFIG_BRIDGE_NETFILTER
323static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb) 323static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb)
324{ 324{
325 unsigned seq, hh_alen; 325 unsigned int seq, hh_alen;
326 326
327 do { 327 do {
328 seq = read_seqbegin(&hh->hh_lock); 328 seq = read_seqbegin(&hh->hh_lock);
@@ -335,7 +335,7 @@ static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb)
335 335
336static inline int neigh_hh_output(struct hh_cache *hh, struct sk_buff *skb) 336static inline int neigh_hh_output(struct hh_cache *hh, struct sk_buff *skb)
337{ 337{
338 unsigned seq; 338 unsigned int seq;
339 int hh_len; 339 int hh_len;
340 340
341 do { 341 do {
diff --git a/include/net/netns/hash.h b/include/net/netns/hash.h
index 548d78f2cc47..c06ac58ca107 100644
--- a/include/net/netns/hash.h
+++ b/include/net/netns/hash.h
@@ -5,7 +5,7 @@
5 5
6struct net; 6struct net;
7 7
8static inline unsigned net_hash_mix(struct net *net) 8static inline unsigned int net_hash_mix(struct net *net)
9{ 9{
10#ifdef CONFIG_NET_NS 10#ifdef CONFIG_NET_NS
11 /* 11 /*
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h
index bac070bf3514..79955a238ccc 100644
--- a/include/net/nfc/nfc.h
+++ b/include/net/nfc/nfc.h
@@ -86,7 +86,7 @@ struct nfc_genl_data {
86}; 86};
87 87
88struct nfc_dev { 88struct nfc_dev {
89 unsigned idx; 89 unsigned int idx;
90 struct nfc_target *targets; 90 struct nfc_target *targets;
91 int n_targets; 91 int n_targets;
92 int targets_generation; 92 int targets_generation;
diff --git a/include/net/pkt_sched.h b/include/net/pkt_sched.h
index fffdc603f4c8..66f5ac370f92 100644
--- a/include/net/pkt_sched.h
+++ b/include/net/pkt_sched.h
@@ -107,7 +107,7 @@ extern int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp,
107/* Calculate maximal size of packet seen by hard_start_xmit 107/* Calculate maximal size of packet seen by hard_start_xmit
108 routine of this device. 108 routine of this device.
109 */ 109 */
110static inline unsigned psched_mtu(const struct net_device *dev) 110static inline unsigned int psched_mtu(const struct net_device *dev)
111{ 111{
112 return dev->mtu + dev->hard_header_len; 112 return dev->mtu + dev->hard_header_len;
113} 113}
diff --git a/include/net/route.h b/include/net/route.h
index b1c0d5b564c2..ed2b78e2375d 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -50,7 +50,7 @@ struct rtable {
50 __be32 rt_key_src; 50 __be32 rt_key_src;
51 51
52 int rt_genid; 52 int rt_genid;
53 unsigned rt_flags; 53 unsigned int rt_flags;
54 __u16 rt_type; 54 __u16 rt_type;
55 __u8 rt_key_tos; 55 __u8 rt_key_tos;
56 56
@@ -185,8 +185,8 @@ extern unsigned short ip_rt_frag_needed(struct net *net, const struct iphdr *iph
185 unsigned short new_mtu, struct net_device *dev); 185 unsigned short new_mtu, struct net_device *dev);
186extern void ip_rt_send_redirect(struct sk_buff *skb); 186extern void ip_rt_send_redirect(struct sk_buff *skb);
187 187
188extern unsigned inet_addr_type(struct net *net, __be32 addr); 188extern unsigned int inet_addr_type(struct net *net, __be32 addr);
189extern unsigned inet_dev_addr_type(struct net *net, const struct net_device *dev, __be32 addr); 189extern unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, __be32 addr);
190extern void ip_rt_multicast_event(struct in_device *); 190extern void ip_rt_multicast_event(struct in_device *);
191extern int ip_rt_ioctl(struct net *, unsigned int cmd, void __user *arg); 191extern int ip_rt_ioctl(struct net *, unsigned int cmd, void __user *arg);
192extern void ip_rt_get_source(u8 *src, struct sk_buff *skb, struct rtable *rt); 192extern void ip_rt_get_source(u8 *src, struct sk_buff *skb, struct rtable *rt);
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 88949a994538..e4652fe58958 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -1145,10 +1145,10 @@ struct sctp_outq {
1145 /* Data pending that has never been transmitted. */ 1145 /* Data pending that has never been transmitted. */
1146 struct list_head out_chunk_list; 1146 struct list_head out_chunk_list;
1147 1147
1148 unsigned out_qlen; /* Total length of queued data chunks. */ 1148 unsigned int out_qlen; /* Total length of queued data chunks. */
1149 1149
1150 /* Error of send failed, may used in SCTP_SEND_FAILED event. */ 1150 /* Error of send failed, may used in SCTP_SEND_FAILED event. */
1151 unsigned error; 1151 unsigned int error;
1152 1152
1153 /* These are control chunks we want to send. */ 1153 /* These are control chunks we want to send. */
1154 struct list_head control_chunk_list; 1154 struct list_head control_chunk_list;
@@ -2000,8 +2000,8 @@ void sctp_assoc_update(struct sctp_association *old,
2000__u32 sctp_association_get_next_tsn(struct sctp_association *); 2000__u32 sctp_association_get_next_tsn(struct sctp_association *);
2001 2001
2002void sctp_assoc_sync_pmtu(struct sctp_association *); 2002void sctp_assoc_sync_pmtu(struct sctp_association *);
2003void sctp_assoc_rwnd_increase(struct sctp_association *, unsigned); 2003void sctp_assoc_rwnd_increase(struct sctp_association *, unsigned int);
2004void sctp_assoc_rwnd_decrease(struct sctp_association *, unsigned); 2004void sctp_assoc_rwnd_decrease(struct sctp_association *, unsigned int);
2005void sctp_assoc_set_primary(struct sctp_association *, 2005void sctp_assoc_set_primary(struct sctp_association *,
2006 struct sctp_transport *); 2006 struct sctp_transport *);
2007void sctp_assoc_del_nonprimary_peers(struct sctp_association *, 2007void sctp_assoc_del_nonprimary_peers(struct sctp_association *,
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 057f0168462e..025c31aa65df 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1226,7 +1226,7 @@ extern void tcp_put_md5sig_pool(void);
1226 1226
1227extern int tcp_md5_hash_header(struct tcp_md5sig_pool *, const struct tcphdr *); 1227extern int tcp_md5_hash_header(struct tcp_md5sig_pool *, const struct tcphdr *);
1228extern int tcp_md5_hash_skb_data(struct tcp_md5sig_pool *, const struct sk_buff *, 1228extern int tcp_md5_hash_skb_data(struct tcp_md5sig_pool *, const struct sk_buff *,
1229 unsigned header_len); 1229 unsigned int header_len);
1230extern int tcp_md5_hash_key(struct tcp_md5sig_pool *hp, 1230extern int tcp_md5_hash_key(struct tcp_md5sig_pool *hp,
1231 const struct tcp_md5sig_key *key); 1231 const struct tcp_md5sig_key *key);
1232 1232
diff --git a/include/net/udp.h b/include/net/udp.h
index 9671f5f1df9c..e66fc297b105 100644
--- a/include/net/udp.h
+++ b/include/net/udp.h
@@ -81,7 +81,7 @@ struct udp_table {
81extern struct udp_table udp_table; 81extern struct udp_table udp_table;
82extern void udp_table_init(struct udp_table *, const char *); 82extern void udp_table_init(struct udp_table *, const char *);
83static inline struct udp_hslot *udp_hashslot(struct udp_table *table, 83static inline struct udp_hslot *udp_hashslot(struct udp_table *table,
84 struct net *net, unsigned num) 84 struct net *net, unsigned int num)
85{ 85{
86 return &table->hash[udp_hashfn(net, num, table->mask)]; 86 return &table->hash[udp_hashfn(net, num, table->mask)];
87} 87}
diff --git a/include/net/wimax.h b/include/net/wimax.h
index 322ff4fbdb4a..bbb74f990cab 100644
--- a/include/net/wimax.h
+++ b/include/net/wimax.h
@@ -423,8 +423,8 @@ struct wimax_dev {
423 int (*op_reset)(struct wimax_dev *wimax_dev); 423 int (*op_reset)(struct wimax_dev *wimax_dev);
424 424
425 struct rfkill *rfkill; 425 struct rfkill *rfkill;
426 unsigned rf_hw; 426 unsigned int rf_hw;
427 unsigned rf_sw; 427 unsigned int rf_sw;
428 char name[32]; 428 char name[32];
429 429
430 struct dentry *debugfs_dentry; 430 struct dentry *debugfs_dentry;
diff --git a/include/net/x25.h b/include/net/x25.h
index a06119a05129..b4a8a8923128 100644
--- a/include/net/x25.h
+++ b/include/net/x25.h
@@ -305,7 +305,7 @@ static inline void x25_unregister_sysctl(void) {};
305#endif /* CONFIG_SYSCTL */ 305#endif /* CONFIG_SYSCTL */
306 306
307struct x25_skb_cb { 307struct x25_skb_cb {
308 unsigned flags; 308 unsigned int flags;
309}; 309};
310#define X25_SKB_CB(s) ((struct x25_skb_cb *) ((s)->cb)) 310#define X25_SKB_CB(s) ((struct x25_skb_cb *) ((s)->cb))
311 311