M
Mark
Hello,
I often see such representation of MAC address in C code, e.g.
struct mac_addr {
unsigned char bytes[6];
}Why necessary put an array in a structure, why not just have an array? What
benefit does this provide, other that it allows to assign a struct (and in C
it'snot possible to assign an array)?
__
Mark
I often see such representation of MAC address in C code, e.g.
struct mac_addr {
unsigned char bytes[6];
}Why necessary put an array in a structure, why not just have an array? What
benefit does this provide, other that it allows to assign a struct (and in C
it'snot possible to assign an array)?
__
Mark