Displaying 1 result from an estimated 1 matches for "rt_conn_flags".
2009 Apr 22
0
networking problems in kinit
...ode 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 -EACCES; >>>>>> This throws me out <<<&...