[Click] specify DLT in FromDevice?

Eddie Kohler kohler at cs.ucla.edu
Sat Feb 27 20:18:45 EST 2010


Hi Ian --

I believe that user-level FromDevice detects the datalink type from pcap, so 
there wouldn't be a point to the argument.  Did you find this did not work?

Eddie


Ian Rose wrote:
> I perhaps should also clarify that I am talking specifically about the 
> userlevel FromDevice element ("FromDevice.u" on the wiki).
> 
> 
> Ian Rose wrote:
>> Hello all -
>>
>> I am new to this list - apologies if this question has previously be 
>> answered.  I am looking at the FromDevice element, but I see no way to 
>> specify a datalinktype (i.e. the equivalent of the '-y' flag in 
>> tcpdump).  Is there any reason that an argument for this was left out?  
>> It seems pretty easy for me to add, but I wanted to check first to make 
>> sure I wasn't overlooking or misunderstanding something.
>>
>> thanks,
>> Ian
>>
>> p.s. I am running on FreeBSD, so I am using the libpcap-based code in 
>> FromDevice, as opposed to the Linux-based code.
>>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list