Guest User

Untitled

a guest
Apr 19th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.63 KB | None | 0 0
  1. struct arp {
  2.     uint16_t hardware_addr_type;
  3.     uint16_t network_addr_type;
  4.     uint8_t hardware_addr_length;
  5.     uint8_t network_addr_length;
  6.     uint16_t operation;
  7.     uint8_t sender_mac1;
  8.     uint8_t sender_mac2;
  9.     uint8_t sender_mac3;
  10.     uint8_t sender_mac4;
  11.     uint8_t sender_mac5;
  12.     uint8_t sender_mac6;
  13.     uint8_t sender_ip1;
  14.     uint8_t sender_ip2;
  15.     uint8_t sender_ip3;
  16.     uint8_t sender_ip4;
  17.     uint8_t receipt_mac1;
  18.     uint8_t receipt_mac2;
  19.     uint8_t receipt_mac3;
  20.     uint8_t receipt_mac4;
  21.     uint8_t receipt_mac5;
  22.     uint8_t receipt_mac6;
  23.     uint8_t receipt_ip1;
  24.     uint8_t receipt_ip2;
  25.     uint8_t receipt_ip3;
  26.     uint8_t receipt_ip4;
  27. } __attribute__((packed));
Advertisement
Add Comment
Please, Sign In to add comment