search for: ip_route_connect

Displaying 1 result from an estimated 1 matches for "ip_route_connect".

2009 Apr 22
0
networking problems in kinit
...is up and running. I still was wondering why this simple piece of code doesn't work, so I tried to find the place in the kernel which returns the error: It occours in net/ipv4/datagram.c in function int ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) { ... err = ip_route_connect(&rt, usin->sin_addr.s_addr, saddr, RT_CONN_FLAGS(sk), oif, sk->sk_protocol, inet->sport, usin->sin_port, sk, 1); if (err) return err; if ((rt->rt_flags & RTCF_BROADCAST) && !sock_flag(sk, SOCK_BROADCAST)) { ip_rt_put(rt); return...