Searched refs:mac_mode (Results 1 – 1 of 1) sorted by relevance
70 __u32 mac_mode = 0; in macvlan_parse_opt() local107 mac_mode = MACVLAN_MACADDR_ADD; in macvlan_parse_opt()109 mac_mode = MACVLAN_MACADDR_DEL; in macvlan_parse_opt()111 mac_mode = MACVLAN_MACADDR_SET; in macvlan_parse_opt()113 mac_mode = MACVLAN_MACADDR_FLUSH; in macvlan_parse_opt()119 addattr32(n, 1024, IFLA_MACVLAN_MACADDR_MODE, mac_mode); in macvlan_parse_opt()121 if (mac_mode == MACVLAN_MACADDR_ADD || in macvlan_parse_opt()122 mac_mode == MACVLAN_MACADDR_DEL) { in macvlan_parse_opt()133 if (mac_mode == MACVLAN_MACADDR_SET) { in macvlan_parse_opt()