aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/inet_connection_sock.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-05-08 17:34:22 -0400
committerDavid S. Miller <davem@davemloft.net>2011-05-08 17:34:22 -0400
commit77357a95522ba645bbfd65253b34317c824103f9 (patch)
tree63eb29d2efad915add7693445a215eef890c4191 /include/net/inet_connection_sock.h
parent8663c938ceb72f47941c95ff0ea491ebbdd68f26 (diff)
ipv4: Create inet_csk_route_child_sock().
This is just like inet_csk_route_req() except that it operates after we've created the new child socket. In this way we can use the new socket's cork flow for proper route key storage. This will be used by DCCP and TCP child socket creation handling. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_connection_sock.h')
-rw-r--r--include/net/inet_connection_sock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h
index 6ac4e3b5007f..4367d913c0e2 100644
--- a/include/net/inet_connection_sock.h
+++ b/include/net/inet_connection_sock.h
@@ -250,6 +250,9 @@ extern int inet_csk_get_port(struct sock *sk, unsigned short snum);
250 250
251extern struct dst_entry* inet_csk_route_req(struct sock *sk, 251extern struct dst_entry* inet_csk_route_req(struct sock *sk,
252 const struct request_sock *req); 252 const struct request_sock *req);
253extern struct dst_entry* inet_csk_route_child_sock(struct sock *sk,
254 struct sock *newsk,
255 const struct request_sock *req);
253 256
254static inline void inet_csk_reqsk_queue_add(struct sock *sk, 257static inline void inet_csk_reqsk_queue_add(struct sock *sk,
255 struct request_sock *req, 258 struct request_sock *req,