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>
*** 27,36 ****
--- 27,39 ----
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/* Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved. */
+ /*
+ * Copyright (c) 2014, Joyent, Inc. All rights reserved.
+ */
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
*** 1714,1726 ****
"KEY", /* 27 */
"NCA", /* 28 */
"POLICY", /* 29 */
"RDS", /* 30 */
"TRILL", /* 31 */
! "PACKET" /* 32 */
};
! #if MAX_AFCODES != 33
#error Need to update address-family table
#endif
const char * const socktype_codes[] = { /* cf socket.h */
--- 1717,1730 ----
"KEY", /* 27 */
"NCA", /* 28 */
"POLICY", /* 29 */
"RDS", /* 30 */
"TRILL", /* 31 */
! "PACKET", /* 32 */
! "LX_NETLINK" /* 33 */
};
! #if MAX_AFCODES != 34
#error Need to update address-family table
#endif
const char * const socktype_codes[] = { /* cf socket.h */