Displaying 3 results from an estimated 3 matches for "rtn_unicast".
2007 Apr 18
1
[Bridge] Help needed about IP class finding in a bridge netfilter module
...unicast
- multicast
- broadcast
The starting condition is that the bridge has no knowledge of the IP
configuration of the sending and receiving stations. It does not know
about their netmask e.g.
I have tried the following function (from 2.6 kernel):
inet_addr_type(u32 addr), but it always return RTN_UNICAST, and never
RTN_MULTICAST, RTN_BROADCAST.
For example, for this address: 10.255.255.255 it returns RTN_UNICAST.
How could the bridge decide in which class is the destination IP of a
skb, and what is my error?
Thx in advance.
LOUIS
2007 Jan 22
3
routing patches seem to break output nat
Hi
We have applied the routing patches from
http://www.ssi.bg/%7Eja/#routes. To 2.6.15 this seems to have broken our
output natting. Has anyone else experienced this or any advice on how to
fix. Is this working on the newer kernel i.e. 2.6.19 ? Any help would be
appreciated.
--
Tim Haak
email: tim@haak.co.uk
cel: 0837787100
First love is only a little foolishness and a lot of curiosity,
2006 Jul 25
3
problem in Route add using netlink
...// PID of process sending the request.
rtMsg->rtm_family = AF_INET;
rtMsg->rtm_table = RT_TABLE_UNSPEC;
rtMsg->rtm_dst_len = 16;
rtMsg->rtm_src_len = 16;
rtMsg->rtm_scope = RT_SCOPE_UNIVERSE;
rtMsg->rtm_type = RTN_UNICAST;
rtMsg->rtm_protocol = RTPROT_UNSPEC;
rtMsg->rtm_flags = RTM_F_NOTIFY;
fillRoute (&rinfo, dstAddr, srcAddr, gateway, ifName);
addAttr (nlMsg, BUFSIZE, RTA_DST,
&rinfo.dstAddr, 4);
addAttr (nlMsg, BUFSIZE, RTA_...