do { \
(
netif)->link_speed = (speed);\
(
netif)->mib2_counters.ifinoctets = 0; \
(
netif)->mib2_counters.ifinucastpkts = 0; \
(
netif)->mib2_counters.ifinnucastpkts = 0; \
(
netif)->mib2_counters.ifindiscards = 0; \
(
netif)->mib2_counters.ifinerrors = 0; \
(
netif)->mib2_counters.ifinunknownprotos = 0; \
(
netif)->mib2_counters.ifoutoctets = 0; \
(
netif)->mib2_counters.ifoutucastpkts = 0; \
(
netif)->mib2_counters.ifoutnucastpkts = 0; \
(
netif)->mib2_counters.ifoutdiscards = 0; \
(
netif)->mib2_counters.ifouterrors = 0; }
while(0)
u8_t type
Definition: pbuf.h:162