[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] about bpf





On Thu, 14 Jun 2001, Yao Shu wrote:

> hi,all
>    I have some question about the bpf.
> 1,  $bpf open readonly fxp0  
> Does this mean that bpf read data from the interface "fxp0",
> but what kind of interface is "fxp0"?

Yes, it's a network interface. For example, you can use
'$bpf open readonly eth0' to access interface 'eth0'.

> 2,  $bpf filter "icmp and dst $myaddr"
> What does it mean? Is filter a function?

you can find the syntax in 'man tcpdump'.

- difa


>  thanks 
> 
> _____________________________________________
> [�㲻���� ��������] ����ר�úţ�95963���û���/���룺263
> �������ϣ��ͻ�����   http://shopping.263.net/category19.htm
>