Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct arp {
- uint16_t hardware_addr_type;
- uint16_t network_addr_type;
- uint8_t hardware_addr_length;
- uint8_t network_addr_length;
- uint16_t operation;
- uint8_t sender_mac1;
- uint8_t sender_mac2;
- uint8_t sender_mac3;
- uint8_t sender_mac4;
- uint8_t sender_mac5;
- uint8_t sender_mac6;
- uint8_t sender_ip1;
- uint8_t sender_ip2;
- uint8_t sender_ip3;
- uint8_t sender_ip4;
- uint8_t receipt_mac1;
- uint8_t receipt_mac2;
- uint8_t receipt_mac3;
- uint8_t receipt_mac4;
- uint8_t receipt_mac5;
- uint8_t receipt_mac6;
- uint8_t receipt_ip1;
- uint8_t receipt_ip2;
- uint8_t receipt_ip3;
- uint8_t receipt_ip4;
- } __attribute__((packed));
Advertisement
Add Comment
Please, Sign In to add comment