Displaying 1 result from an estimated 1 matches for "ip4_datagram_connect".
2009 Apr 22
0
networking problems in kinit
...ping the
board (ARM9 based module) during this sleep-phase which was ok,
so the interface 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 & R...