Re: PF_PACKET +Direction?

kuznet@ms2.inr.ac.ru
Tue, 16 Mar 1999 18:18:19 +0300 (MSK)


Hello!

> sll_hatype == spkt_family
> sll_protocol == spkt_protocol
>
> ?

Yes.

> One more thing: not documented in packet.4. There's no equivalent of
> char *spkt_device, but there is int ifindex. I'm guessing but do you use
> SIOCGIFNAME to obtain the interface name for this?

Yes, if program really wants name readable by human.

Alexey Kuznetsov

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/