Print this page
OS-2952 lx brand needs to support or emulate rtnetlink(7)
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ptools/pfiles/pfiles.c
          +++ new/usr/src/cmd/ptools/pfiles/pfiles.c
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24   * Copyright 2012 DEY Storage Systems, Inc.  All rights reserved.
  25   25   */
  26   26  /*
  27      - * Copyright (c) 2013 Joyent, Inc.  All Rights reserved.
       27 + * Copyright (c) 2014 Joyent, Inc.  All Rights reserved.
  28   28   */
  29   29  
  30   30  #include <stdio.h>
  31   31  #include <stdlib.h>
  32   32  #include <unistd.h>
  33   33  #include <fcntl.h>
  34   34  #include <ctype.h>
  35   35  #include <string.h>
  36   36  #include <signal.h>
  37   37  #include <dirent.h>
↓ open down ↓ 512 lines elided ↑ open up ↑
 550  550          case AF_APPLETALK:      p = "AF_APPLETALK";     break;
 551  551          case AF_NIT:            p = "AF_NIT";           break;
 552  552          case AF_802:            p = "AF_802";           break;
 553  553          case AF_OSI:            p = "AF_OSI";           break;
 554  554          case AF_X25:            p = "AF_X25";           break;
 555  555          case AF_OSINET:         p = "AF_OSINET";        break;
 556  556          case AF_GOSIP:          p = "AF_GOSIP";         break;
 557  557          case AF_IPX:            p = "AF_IPX";           break;
 558  558          case AF_ROUTE:          p = "AF_ROUTE";         break;
 559  559          case AF_LINK:           p = "AF_LINK";          break;
      560 +        case AF_LX_NETLINK:     p = "AF_LX_NETLINK";    break;
 560  561          }
 561  562  
 562  563          (void) printf("\t%s: %s\n", str, p);
 563  564  }
 564  565  
 565  566  /*
 566  567   * Print out the process information for the other end of local sockets
 567  568   * and fifos
 568  569   */
 569  570  static void
↓ open down ↓ 245 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX