/openbmc/linux/net/packet/ |
H A D | internal.h | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/ipv6/ |
H A D | addrlabel.c | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | ip6mr.c | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/openvswitch/ |
H A D | datapath.h | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/9p/ |
H A D | trans_fd.c | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/include/net/ |
H A D | genetlink.h | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | neighbour.h | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | inet_hashtables.h | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | ip_vs.h | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | net_namespace.h | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | xfrm.h | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | cfg80211.h | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | sock.h | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/include/net/netfilter/ |
H A D | nf_conntrack.h | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/ipv4/ |
H A D | ipmr.c | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/include/linux/ |
H A D | netdevice.h | diff 0c5c9fb55106333e773de8c9dd321fa8240caeb3 Wed Mar 11 23:06:44 CDT 2015 Eric W. Biederman <ebiederm@xmission.com> net: Introduce possible_net_t
Having to say > #ifdef CONFIG_NET_NS > struct net *net; > #endif
in structures is a little bit wordy and a little bit error prone.
Instead it is possible to say: > typedef struct { > #ifdef CONFIG_NET_NS > struct net *net; > #endif > } possible_net_t;
And then in a header say:
> possible_net_t net;
Which is cleaner and easier to use and easier to test, as the possible_net_t is always there no matter what the compile options.
Further this allows read_pnet and write_pnet to be functions in all cases which is better at catching typos.
This change adds possible_net_t, updates the definitions of read_pnet and write_pnet, updates optional struct net * variables that write_pnet uses on to have the type possible_net_t, and finally fixes up the b0rked users of read_pnet and write_pnet.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|