From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Linux cooked capture (SLL and SLL2)" |
|---|
| claim | "LINKTYPE_LINUX_SLL (113) packets start with a 16-byte header." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Linux cooked capture (SLL and SLL2)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "sll_header" |
|---|
| size | "16" |
|---|
| fields | | offset | 0 |
|---|
| name | "pkttype" |
|---|
| type | "u16" |
|---|
|
| offset | 2 |
|---|
| name | "hatype" |
|---|
| type | "u16" |
|---|
|
| offset | 4 |
|---|
| name | "halen" |
|---|
| type | "u16" |
|---|
|
| offset | 6 |
|---|
| name | "addr" |
|---|
| type | "u8[8]" |
|---|
|
| offset | 14 |
|---|
| name | "protocol" |
|---|
| type | "u16" |
|---|
|
|
|---|
| endianness | "big" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct sll_header and SLL_HDR_LEN 16" |
|---|
| repo | "https://github.com/the-tcpdump-group/libpcap" |
|---|
| commit | "ba925f7be2ad4cc90ff00ea249310679094221a5" |
|---|
| path | "pcap/sll.h" |
|---|
|
| type | "source" |
|---|
| detail | "Comment: 'All fields except for the link-layer address are in network byte order.' (addr is a byte array, so no order)" |
|---|
| repo | "https://github.com/the-tcpdump-group/libpcap" |
|---|
| commit | "ba925f7be2ad4cc90ff00ea249310679094221a5" |
|---|
| path | "pcap/sll.h" |
|---|
| lines | "56" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "sll header" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T23:02:57.253Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T17:26:56.016Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read pcap/sll.h at the cited commit: struct sll_header {u16 pkttype, hatype, halen; u8 addr[8]; u16 protocol} with SLL_HDR_LEN 16; comment 'All fields except for the link-layer address are in network byte order'." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T12:49:18.328Z" |
|---|
| summary | "Byte order: pcap/sll.h line 56 says all fields except the link-layer address are in network byte order" |
|---|
| changed | |
|---|
|
|
|---|