1*774dcce2Skamil /* $NetBSD: sockstat_hostops.c,v 1.2 2019/08/18 04:13:24 kamil Exp $ */ 26475f125Spooka 36475f125Spooka /* 46475f125Spooka * Copyright (c) 2010 The NetBSD Foundation, Inc. 56475f125Spooka * All rights reserved. 66475f125Spooka * 76475f125Spooka * Redistribution and use in source and binary forms, with or without 86475f125Spooka * modification, are permitted provided that the following conditions 96475f125Spooka * are met: 106475f125Spooka * 1. Redistributions of source code must retain the above copyright 116475f125Spooka * notice, this list of conditions and the following disclaimer. 126475f125Spooka * 2. Redistributions in binary form must reproduce the above copyright 136475f125Spooka * notice, this list of conditions and the following disclaimer in the 146475f125Spooka * documentation and/or other materials provided with the distribution. 156475f125Spooka * 166475f125Spooka * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 176475f125Spooka * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 186475f125Spooka * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 196475f125Spooka * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 206475f125Spooka * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 216475f125Spooka * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 226475f125Spooka * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 236475f125Spooka * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 246475f125Spooka * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 256475f125Spooka * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 266475f125Spooka * POSSIBILITY OF SUCH DAMAGE. 276475f125Spooka */ 286475f125Spooka 296475f125Spooka #include <sys/cdefs.h> 306475f125Spooka #ifndef lint 31*774dcce2Skamil __RCSID("$NetBSD: sockstat_hostops.c,v 1.2 2019/08/18 04:13:24 kamil Exp $"); 326475f125Spooka #endif /* !lint */ 336475f125Spooka 346475f125Spooka #include <sys/types.h> 356475f125Spooka #include <sys/sysctl.h> 366475f125Spooka 376475f125Spooka #include "prog_ops.h" 386475f125Spooka 396475f125Spooka const struct prog_ops prog_ops = { 406475f125Spooka .op_sysctl = sysctl, 41*774dcce2Skamil 42*774dcce2Skamil .op_sysctlgetmibinfo = sysctlgetmibinfo, 43*774dcce2Skamil 44*774dcce2Skamil .op_sysctlnametomib = sysctlnametomib, 456475f125Spooka }; 46