Guest User

Untitled

a guest
Apr 19th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. union arp_test {
  2.     struct arp arp_union;
  3.     uint8_t data[sizeof(struct arp)];
  4. };
  5.  
  6. union arp_test test;
  7. test.arp_union = arp_val;
  8.  
  9. kprintf("%x",test.data[0]);
Advertisement
Add Comment
Please, Sign In to add comment