knowledge representation
$iw --debug wlan0 info
-- Debug: Sent Message:
-------------------------- BEGIN NETLINK MESSAGE ---------------------------
[HEADER] 16 octets
.nlmsg_len = 28
.nlmsg_type = 22 <0x16>
.nlmsg_flags = 5
.nlmsg_seq = 1344974880
.nlmsg_pid = 4659
[PAYLOAD] 12 octets
05 00 00 00 08 00 03 00 02 00 00 00 ............
--------------------------- END NETLINK MESSAGE ---------------------------
-- Debug: Received Message:
-------------------------- BEGIN NETLINK MESSAGE ---------------------------
[HEADER] 16 octets
.nlmsg_len = 64
.nlmsg_type = 22 <0x16>
.nlmsg_flags = 0 <>
.nlmsg_seq = 1344974880
.nlmsg_pid = 4659
[PAYLOAD] 48 octets
07 01 00 00 08 00 03 00 02 00 00 00 08 00 01 00 00 00 ..................
00 00 0a 00 04 00 77 6c 61 6e 30 00 00 00 08 00 05 00 ......wlan0.......
02 00 00 00 08 00 2e 00 05 00 00 00 ............
--------------------------- END NETLINK MESSAGE ---------------------------
Interface wlan0
ifindex 2
type managed
wiphy 2
-- Debug: Received Message:
-------------------------- BEGIN NETLINK MESSAGE ---------------------------
[HEADER] 16 octets
.nlmsg_len = 36
.nlmsg_type = 2
.nlmsg_flags = 0 <>
.nlmsg_seq = 1344974880
.nlmsg_pid = 4659
[ERRORMSG] 20 octets
.error = 0 "Success"
[ORIGINAL MESSAGE] 16 octets
.nlmsg_len = 16
.nlmsg_type = 22 <0x16>
.nlmsg_flags = 5
.nlmsg_seq = 1344974880
.nlmsg_pid = 4659
--------------------------- END NETLINK MESSAGE ---------------------------
$
Debian Research
These Notes Comes With NO WARRANTY
Debug Using Application/Command That Support Debug Mode.
I Call This “Inbuilt Debugging”
I Call This “Inbuilt Debugging”