# | Line 48 | Line 48 | |
---|---|---|
48 | typedef __uint8_t u8; | |
49 | typedef __uint16_t u16; | |
50 | typedef __uint32_t u32; | |
51 | + | typedef __uint64_t u64; |
52 | #include <linux/ethtool.h> | |
53 | #include <linux/sockios.h> | |
54 | #include <unistd.h> | |
# | Line 518 | Line 519 | network_iface_stat_t *get_network_iface_stats(int *ent | |
519 | continue; | |
520 | } | |
521 | /* Solaris has 1 for up, and 0 for not. As we do too */ | |
522 | < | network_iface_stat_ptr->up = value.ui32; |
522 | > | network_iface_stat_ptr->up = knp->value.ui32; |
523 | ||
524 | if((knp=kstat_data_lookup(ksp, "link_duplex"))==NULL){ | |
525 | /* Not a network interface, so skip to the next entry */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |