mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
[NET]: Introduce inet_connection_sock
This creates struct inet_connection_sock, moving members out of struct tcp_sock that are shareable with other INET connection oriented protocols, such as DCCP, that in my private tree already uses most of these members. The functions that operate on these members were renamed, using a inet_csk_ prefix while not being moved yet to a new file, so as to ease the review of these changes. Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
87d11ceb9d
commit
463c84b97f
21 changed files with 692 additions and 588 deletions
|
@ -128,7 +128,6 @@ static inline struct inet_request_sock *inet_rsk(const struct request_sock *sk)
|
|||
return (struct inet_request_sock *)sk;
|
||||
}
|
||||
|
||||
struct inet_bind_bucket;
|
||||
struct ipv6_pinfo;
|
||||
|
||||
struct inet_sock {
|
||||
|
@ -158,7 +157,6 @@ struct inet_sock {
|
|||
int mc_index; /* Multicast device index */
|
||||
__u32 mc_addr;
|
||||
struct ip_mc_socklist *mc_list; /* Group array */
|
||||
struct inet_bind_bucket *bind_hash;
|
||||
/*
|
||||
* Following members are used to retain the infomation to build
|
||||
* an ip header on each ip fragmentation while the socket is corked.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue