Lines Matching refs:uint8
106 ((uint8 *)ea)[0] = 0x01; \
107 ((uint8 *)ea)[1] = 0x00; \
108 ((uint8 *)ea)[2] = 0x5e; \
109 ((uint8 *)ea)[3] = ((mgrp_ip) >> 16) & 0x7f; \
110 ((uint8 *)ea)[4] = ((mgrp_ip) >> 8) & 0xff; \
111 ((uint8 *)ea)[5] = ((mgrp_ip) >> 0) & 0xff; \
119 uint8 ether_dhost[ETHER_ADDR_LEN];
120 uint8 ether_shost[ETHER_ADDR_LEN];
128 uint8 octet[ETHER_ADDR_LEN];
136 #define ETHER_SET_LOCALADDR(ea) (((uint8 *)(ea))[0] = (((uint8 *)(ea))[0] | 2))
137 #define ETHER_IS_LOCALADDR(ea) (((uint8 *)(ea))[0] & 2)
138 #define ETHER_CLR_LOCALADDR(ea) (((uint8 *)(ea))[0] = (((uint8 *)(ea))[0] & 0xfd))
139 #define ETHER_TOGGLE_LOCALADDR(ea) (((uint8 *)(ea))[0] = (((uint8 *)(ea))[0] ^ 2))
142 #define ETHER_SET_UNICAST(ea) (((uint8 *)(ea))[0] = (((uint8 *)(ea))[0] & ~1))
148 #define ETHER_ISMULTI(ea) (((const uint8 *)(ea))[0] & 1)
182 #define ETHER_ISBCAST(ea) ((((const uint8 *)(ea))[0] & \
183 ((const uint8 *)(ea))[1] & \
184 ((const uint8 *)(ea))[2] & \
185 ((const uint8 *)(ea))[3] & \
186 ((const uint8 *)(ea))[4] & \
187 ((const uint8 *)(ea))[5]) == 0xff)
188 #define ETHER_ISNULLADDR(ea) ((((const uint8 *)(ea))[0] | \
189 ((const uint8 *)(ea))[1] | \
190 ((const uint8 *)(ea))[2] | \
191 ((const uint8 *)(ea))[3] | \
192 ((const uint8 *)(ea))[4] | \
193 ((const uint8 *)(ea))[5]) == 0)
207 #define ETHER_ISUCAST(ea) ((((uint8 *)(ea))[0] & 0x01) == 0)