lkml.org 
[lkml]   [1999]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: PF_PACKET +Direction?
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.415 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site