[IPV4]: annotated ipv4 addresses in struct inet_sock
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bada8adc4e
commit
011a926108
1 changed files with 5 additions and 5 deletions
|
@ -110,11 +110,11 @@ struct inet_sock {
|
||||||
struct ipv6_pinfo *pinet6;
|
struct ipv6_pinfo *pinet6;
|
||||||
#endif
|
#endif
|
||||||
/* Socket demultiplex comparisons on incoming packets. */
|
/* Socket demultiplex comparisons on incoming packets. */
|
||||||
__u32 daddr;
|
__be32 daddr;
|
||||||
__u32 rcv_saddr;
|
__be32 rcv_saddr;
|
||||||
__u16 dport;
|
__u16 dport;
|
||||||
__u16 num;
|
__u16 num;
|
||||||
__u32 saddr;
|
__be32 saddr;
|
||||||
__s16 uc_ttl;
|
__s16 uc_ttl;
|
||||||
__u16 cmsg_flags;
|
__u16 cmsg_flags;
|
||||||
struct ip_options *opt;
|
struct ip_options *opt;
|
||||||
|
@ -129,7 +129,7 @@ struct inet_sock {
|
||||||
hdrincl:1,
|
hdrincl:1,
|
||||||
mc_loop:1;
|
mc_loop:1;
|
||||||
int mc_index;
|
int mc_index;
|
||||||
__u32 mc_addr;
|
__be32 mc_addr;
|
||||||
struct ip_mc_socklist *mc_list;
|
struct ip_mc_socklist *mc_list;
|
||||||
struct {
|
struct {
|
||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
|
@ -137,7 +137,7 @@ struct inet_sock {
|
||||||
struct ip_options *opt;
|
struct ip_options *opt;
|
||||||
struct rtable *rt;
|
struct rtable *rt;
|
||||||
int length; /* Total length of all frames */
|
int length; /* Total length of all frames */
|
||||||
u32 addr;
|
__be32 addr;
|
||||||
struct flowi fl;
|
struct flowi fl;
|
||||||
} cork;
|
} cork;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue