Print this page
Interpret sl3a_uport == 0 in SVP_R_VL3_ACK to indicate the VL3 IP is a
next-hop router.

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/varpd/svp/common/libvarpd_svp.h
          +++ new/usr/src/lib/varpd/svp/common/libvarpd_svp.h
↓ open down ↓ 269 lines elided ↑ open up ↑
 270  270          uint64_t                svp_vid;        /* RO */
 271  271          avl_node_t              svp_rlink;      /* Owned by svp_remote */
 272  272          svp_remote_t            *svp_remote;    /* RO iff started */
 273  273          mutex_t                 svp_lock;
 274  274          char                    *svp_host;      /* svp_lock */
 275  275          uint16_t                svp_port;       /* svp_lock */
 276  276          uint16_t                svp_uport;      /* svp_lock */
 277  277          uint32_t                svp_dcid;       /* svp_lock (but write-once?) */
 278  278          boolean_t               svp_huip;       /* svp_lock */
 279  279          struct in6_addr         svp_uip;        /* svp_lock */
 280      -        struct ether_addr       svp_router_mac; /* svp_lock (but write-once?) */
      280 +        /* NOTE: lower-3 bytes are 0s. */
      281 +        uint8_t         svp_router_oui[6];      /* svp_lock (but write-once?) */
 281  282  };
 282  283  
 283  284  extern bunyan_logger_t *svp_bunyan;
 284  285  
 285  286  extern int svp_remote_find(char *, uint16_t, struct in6_addr *,
 286  287      svp_remote_t **);
 287  288  extern int svp_remote_attach(svp_remote_t *, svp_t *);
 288  289  extern void svp_remote_detach(svp_t *);
 289  290  extern void svp_remote_release(svp_remote_t *);
 290  291  extern void svp_remote_vl3_lookup(svp_t *, svp_query_t *,
↓ open down ↓ 79 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX