File: ethernet.t

package info (click to toggle)
libnetpacket-perl 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 248 kB
  • sloc: perl: 1,237; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 206 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
use strict;
use warnings;

use Test::More tests => 2;

use NetPacket::Ethernet qw/ :types /;

is ETH_TYPE_PPPOES() => 0x8864, 'imports';

is NetPacket::Ethernet::ETH_TYPE_IP => 0x0800, 'with namespace';