diff options
Diffstat (limited to 'include/uapi/linux/netdevice.h')
| -rw-r--r-- | include/uapi/linux/netdevice.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/netdevice.h b/include/uapi/linux/netdevice.h index 6b9500bc2d56..fdfbd1c17065 100644 --- a/include/uapi/linux/netdevice.h +++ b/include/uapi/linux/netdevice.h | |||
| @@ -49,5 +49,11 @@ enum { | |||
| 49 | IF_PORT_100BASEFX | 49 | IF_PORT_100BASEFX |
| 50 | }; | 50 | }; |
| 51 | 51 | ||
| 52 | /* hardware address assignment types */ | ||
| 53 | #define NET_ADDR_PERM 0 /* address is permanent (default) */ | ||
| 54 | #define NET_ADDR_RANDOM 1 /* address is generated randomly */ | ||
| 55 | #define NET_ADDR_STOLEN 2 /* address is stolen from other device */ | ||
| 56 | #define NET_ADDR_SET 3 /* address is set using | ||
| 57 | * dev_set_mac_address() */ | ||
| 52 | 58 | ||
| 53 | #endif /* _UAPI_LINUX_NETDEVICE_H */ | 59 | #endif /* _UAPI_LINUX_NETDEVICE_H */ |
