9512fe850e98fdd448c638ca63fdd92a8a510255ahl * CDDL HEADER START
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * The contents of this file are subject to the terms of the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * Common Development and Distribution License (the "License").
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * You may not use this file except in compliance with the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * See the License for the specific language governing permissions
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * and limitations under the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * When distributing Covered Code, include this CDDL HEADER in each
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * If applicable, add the following below this CDDL HEADER, with the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * fields enclosed by brackets "[]" replaced with your own identifying
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * information: Portions Copyright [yyyy] [name of copyright owner]
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * CDDL HEADER END
4edabff493bc4820f4297f981943f11de1cbf3bebrendan * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * Use is subject to license terms.
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * Copyright (c) 2012, Joyent, Inc. All rights reserved.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#define INTFUNC(x) \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl /*DSTYLED*/ \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl /*DSTYLED*/ \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#define STRFUNC(x) \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl /*DSTYLED*/ \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl /*DSTYLED*/ \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#define VOIDFUNC(x) \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl /*DSTYLED*/ \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl /*DSTYLED*/ \
4edabff493bc4820f4297f981943f11de1cbf3bebrendanSTRFUNC(inet_ntoa((ipaddr_t *)alloca(sizeof (ipaddr_t))))
4edabff493bc4820f4297f981943f11de1cbf3bebrendanSTRFUNC(inet_ntoa6((in6_addr_t *)alloca(sizeof (in6_addr_t))))
4edabff493bc4820f4297f981943f11de1cbf3bebrendanSTRFUNC(inet_ntop(AF_INET, (void *)alloca(sizeof (ipaddr_t))))
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. ClulowSTRFUNC(json("{\"systemtap\": false}", "systemtap"))
9512fe850e98fdd448c638ca63fdd92a8a510255ahl printf("found %d subroutines, expected %d\n", subr, DIF_SUBR_MAX + 1);