⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 layer4.pm

📁 SinFP是一种新的识别对方计算机操作系统类型的工具
💻 PM
字号:
## $Id: Layer4.pm,v 1.2.2.2 2006/05/25 12:18:19 gomor Exp $#package Net::Packet::Layer4;use strict;use warnings;require Net::Packet::Layer;our @ISA = qw(Net::Packet::Layer);__PACKAGE__->cgBuildIndices;use Net::Packet::Consts qw(:layer);sub layer { NP_LAYER_N_4 }sub _is      { (shift->is eq shift()) ? 1 : 0 }sub isTcp    { shift->_is(NP_LAYER_TCP)       }sub isUdp    { shift->_is(NP_LAYER_UDP)       }sub isIcmpv4 { shift->_is(NP_LAYER_ICMPv4)    }1;__END__=head1 NAMENet::Packet::Layer4 - base class for all layer 4 modules=head1 DESCRIPTIONThis is the base class for B<Net::Packet::Layer4> subclasses.It just provides those layers with inheritable attributes and methods.=head1 METHODS=over 4=item B<isTcp>=item B<isUdp>=item B<isIcmpv4>Returns true if Layer4 is of specified type, false otherwise.=back=head1 AUTHORPatrice E<lt>GomoRE<gt> Auffret=head1 COPYRIGHT AND LICENSECopyright (c) 2004-2006, Patrice E<lt>GomoRE<gt> AuffretYou may distribute this module under the terms of the Artistic license.See LICENSE.Artistic file in the source distribution archive.=head1 RELATED MODULESL<NetPacket>, L<Net::RawIP>, L<Net::RawSock>=cut

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -