summaryrefslogtreecommitdiff
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorHideaki Yoshifuji <yoshfuji@linux-ipv6.org>2004-07-20 17:16:36 +0900
committerHideaki Yoshifuji <yoshfuji@linux-ipv6.org>2004-07-20 17:16:36 +0900
commit587451ba8b58fde2c368de23ef62588065c77c6c (patch)
tree38d779bc0b0db137d5a583923d30bf76b0053eb7 /include/net/ip.h
parent1bb0fa189c6ae75cbf440244ae77a8ede9912df1 (diff)
[IPV4] Look up route with appropriate protocol when we connect().
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include/net/ip.h')
-rw-r--r--include/net/ip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index ad6b2be1c028..70bb6f887988 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -109,6 +109,9 @@ extern ssize_t ip_append_page(struct sock *sk, struct page *page,
extern int ip_push_pending_frames(struct sock *sk);
extern void ip_flush_pending_frames(struct sock *sk);
+/* datagram.c */
+extern int ip4_datagram_connect(struct sock *sk,
+ struct sockaddr *uaddr, int addr_len);
/*
* Map a multicast IP onto multicast MAC for type Token Ring.