Print this page
2553 mac address should be a dladm link property

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/mac/mac_client.c
          +++ new/usr/src/uts/common/io/mac/mac_client.c
↓ open down ↓ 2339 lines elided ↑ open up ↑
2340 2340          }
2341 2341          return (NULL);
2342 2342  }
2343 2343  
2344 2344  /*
2345 2345   * Add a new unicast address to the MAC client.
2346 2346   *
2347 2347   * The MAC address can be specified either by value, or the MAC client
2348 2348   * can specify that it wants to use the primary MAC address of the
2349 2349   * underlying MAC. See the introductory comments at the beginning
2350      - * of this file for more more information on primary MAC addresses.
     2350 + * of this file for more information on primary MAC addresses.
2351 2351   *
2352 2352   * Note also the tuple (MAC address, VID) must be unique
2353 2353   * for the MAC clients defined on top of the same underlying MAC
2354 2354   * instance, unless the MAC_UNICAST_NODUPCHECK is specified.
2355 2355   *
2356 2356   * In no case can a client use the PVID for the MAC, if the MAC has one set.
2357 2357   */
2358 2358  int
2359 2359  i_mac_unicast_add(mac_client_handle_t mch, uint8_t *mac_addr, uint16_t flags,
2360 2360      mac_unicast_handle_t *mah, uint16_t vid, mac_diag_t *diag)
↓ open down ↓ 3053 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX