* tnt uses obsolete (PF_INET,SOCK_PACKET)
@ 2000-11-01 11:17 f5ibh
2000-11-01 12:54 ` Tigran Aivazian
2000-11-01 12:59 ` Brian F. G. Bidulock
0 siblings, 2 replies; 3+ messages in thread
From: f5ibh @ 2000-11-01 11:17 UTC (permalink / raw)
To: linux-kernel
Hi,
Nov 1 12:09:12 debian-f5ibh kernel: tnt uses obsolete (PF_INET,SOCK_PACKET)
I got often this message, it is harmless (seems to be). What does it means ?
---
Regards
jean-luc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tnt uses obsolete (PF_INET,SOCK_PACKET)
2000-11-01 11:17 tnt uses obsolete (PF_INET,SOCK_PACKET) f5ibh
@ 2000-11-01 12:54 ` Tigran Aivazian
2000-11-01 12:59 ` Brian F. G. Bidulock
1 sibling, 0 replies; 3+ messages in thread
From: Tigran Aivazian @ 2000-11-01 12:54 UTC (permalink / raw)
To: f5ibh; +Cc: linux-kernel
On Wed, 1 Nov 2000, f5ibh wrote:
> Hi,
>
> Nov 1 12:09:12 debian-f5ibh kernel: tnt uses obsolete (PF_INET,SOCK_PACKET)
>
> I got often this message, it is harmless (seems to be). What does it means ?
it means it uses old support for PACKET sockets in PF_INET protocol
family, i.e. a call like socket(PF_INET,SOCK_PACKET,0) instead of the
special protocol family for this purpose called PF_PACKET. If you truss
tcpdump you will see something like this:
socket(PF_PACKET, SOCK_DGRAM, 0) = 3
which answers why you no longer get messages like "tcpdump uses
obsolete..." i.e. new tcpdump (as of a few years ago) does the right thing
(while your tnt, whatever that might be, doesn't).
Regards,
Tigran
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tnt uses obsolete (PF_INET,SOCK_PACKET)
2000-11-01 11:17 tnt uses obsolete (PF_INET,SOCK_PACKET) f5ibh
2000-11-01 12:54 ` Tigran Aivazian
@ 2000-11-01 12:59 ` Brian F. G. Bidulock
1 sibling, 0 replies; 3+ messages in thread
From: Brian F. G. Bidulock @ 2000-11-01 12:59 UTC (permalink / raw)
To: f5ibh; +Cc: linux-kernel
f5ibh,
It means that it should be opening a PF_PACKET socket (see packet(7))
instead of a PF_INET, SOCK_PACKET (see COMPATIBILITY ip(7)):
"For compatibility with Linux 2.0, the obsolete socket(PF_INET,
SOCK_RAW, protocol) syntax is still supported to open a
packet(7) socket. This is deprecated and should be replaced by
socket(PF_PACKET, SOCK_RAW, protocol) instead. The main
difference is the new sockaddr_ll address structure for generic
link layer information instead of sockaddr_pkt." - ip(7)
--Brian
On Wed, 01 Nov 2000, f5ibh wrote:
> Hi,
>
> Nov 1 12:09:12 debian-f5ibh kernel: tnt uses obsolete (PF_INET,SOCK_PACKET)
>
> I got often this message, it is harmless (seems to be). What does it means ?
>
> ---
> Regards
> jean-luc
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
--
Brian F. G. Bidulock
http://www.openss7.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-11-01 13:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-01 11:17 tnt uses obsolete (PF_INET,SOCK_PACKET) f5ibh
2000-11-01 12:54 ` Tigran Aivazian
2000-11-01 12:59 ` Brian F. G. Bidulock
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.