Is there any flags where I can set that my NIC interface supports PPP. I
want to set these flags.
NIC supports IFF_POINTTOPOINT
NIC supports IFF_NOARP (NIC doesn’t support ARP)
In Linux, we set these flags and hook an entry point to build headers
dev->flags = IFF_POINTOPOING | NO_ARP;
dev->hard_header = PPP_Header;
PPP_Header basically builds header . Is there anything correspoinding in
QNX??
Thanks
Jalaja
JalajaDevi <jganapat@storage.com> wrote:
Is there any flags where I can set that my NIC interface supports PPP. I
want to set these flags.
NIC supports IFF_POINTTOPOINT
NIC supports IFF_NOARP (NIC doesn’t support ARP)
In Linux, we set these flags and hook an entry point to build headers
dev->flags = IFF_POINTOPOING | NO_ARP;
dev->hard_header = PPP_Header;
Don’t know about “hard_header”, but the “iflags” in
“struct _io_net_msg_dl_advert” (take a look of sys/io-net.h)
is the one you want to set interface flag.
The structure is basically a block that driver tells its upper
layer what he is (name, flag, mtu, address…).
-xtang
PPP_Header basically builds header . Is there anything correspoinding in
QNX??
Thanks
Jalaja