The documentation is pretty thin, but looking at the source of NetPacket::TCP, I think you need to call my %opts = $tcp_obj->parse_tcp_options; and then access $opts{mss}. (untested)
I've attempted to work with libpcap in the past myself, using both Perl and Java. Several times I've come away with an icky feeling. That leads me to ask: why do you want to do this with Perl, and not with tshark?
In reply to Re: filter tcpdump packets
by Anonymous Monk
in thread filter tcpdump packets
by syboar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |