From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Linux cooked capture (SLL and SLL2)" |
|---|
| claim | "LINKTYPE_LINUX_SLL2 (276) packets start with a 20-byte header." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Linux cooked capture (SLL and SLL2)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "sll2_header" |
|---|
| size | "20" |
|---|
| fields | | offset | 0 |
|---|
| name | "protocol" |
|---|
| type | "u16" |
|---|
|
| offset | 2 |
|---|
| name | "reserved_mbz" |
|---|
| type | "u16" |
|---|
|
| offset | 4 |
|---|
| name | "if_index" |
|---|
| type | "u32" |
|---|
|
| offset | 8 |
|---|
| name | "hatype" |
|---|
| type | "u16" |
|---|
|
| offset | 10 |
|---|
| name | "pkttype" |
|---|
| type | "u8" |
|---|
|
| offset | 11 |
|---|
| name | "halen" |
|---|
| type | "u8" |
|---|
|
| offset | 12 |
|---|
| name | "addr" |
|---|
| type | "u8[8]" |
|---|
|
|
|---|
| endianness | "big" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct sll2_header and SLL2_HDR_LEN 20" |
|---|
| repo | "https://github.com/the-tcpdump-group/libpcap" |
|---|
| commit | "ba925f7be2ad4cc90ff00ea249310679094221a5" |
|---|
| path | "pcap/sll.h" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "sll2 header" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T23:02:57.185Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T17:26:56.092Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read pcap/sll.h at the cited commit: struct sll2_header {u16 protocol, u16 reserved_mbz, u32 if_index, u16 hatype, u8 pkttype, u8 halen, u8 addr[8]} with SLL2_HDR_LEN 20, same network byte order comment of the SLL block." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:08:37.826Z" |
|---|
| summary | "Add data.endianness big: sll.h comment says all fields except the link-layer address are in network byte order (lines 55-56). Layout and 20-byte size re-read and match." |
|---|
| changed | |
|---|
|
|
|---|