Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 1998 08:19:04 -0400 (EDT)
From:      brian mitchell <brian@deity.loa.com>
To:        CyberPsychotic <fygrave@freenet.bishkek.su>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: SOCK_RAW
Message-ID:  <Pine.GSO.3.96.980508081827.19665A-100000@deity.loa.com>
In-Reply-To: <Pine.LNX.3.96.980508161526.2591P-100000@freenet.bishkek.su>

next in thread | previous in thread | raw e-mail | index | archive | help
Use bpf, it is the same as sock packet, except it does not suck nearly as
much.



On Fri, 8 May 1998, CyberPsychotic wrote:

> 
>  Hello people,
>  Actually this is BSD C-related programming question, but since i didn't
> find any kind of freebsd-c-programming mailing lists.(time to have one?) I
> think that's the best place to ask:
> 
>  I came to bsd from linux, and abit got stuck with its raw packet socket
> programming. I used to use SOCK_PACKET type to get raw stream of data from
> ethernet infreface running in promisc. mode, but found out that it doesn't
> work this way under BSD. (well, it doesn't have SOCK_PACKET at all, so i
> used SOCK_RAW, but still didn't get result i wanted). I would appreciate
> if anyone could provide me sample code or some links/refernces to online
> documentation covering this mistery.
> 
>  Thanks beforehands,
>  Best Regards
>  Fyodor
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.980508081827.19665A-100000>