mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
501 B
C
17 lines
501 B
C
16 years ago
|
/* Copyright (c) 2009 Victor Julien <victor@inliniac.net> */
|
||
|
#ifndef __DECODE_SLL_H__
|
||
|
#define __DECODE_SLL_H__
|
||
|
|
||
|
#define SLL_HEADER_LEN 16
|
||
|
|
||
|
typedef struct SllHdr_ {
|
||
|
u_int16_t sll_pkttype; /* packet type */
|
||
|
u_int16_t sll_hatype; /* link-layer address type */
|
||
|
u_int16_t sll_halen; /* link-layer address length */
|
||
|
u_int8_t sll_addr[8]; /* link-layer address */
|
||
|
u_int16_t sll_protocol; /* protocol */
|
||
|
} SllHdr;
|
||
|
|
||
|
#endif /* __DECODE_SLL_H__ */
|
||
|
|