Machete-waving to fix mpls rump build after pktqueue changes.

This commit is contained in:
thorpej 2022-09-03 20:29:30 +00:00
parent b037bb66fa
commit 63f0d21cf2
3 changed files with 9 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_mpls.c,v 1.40 2022/09/03 02:47:59 thorpej Exp $ */
/* $NetBSD: if_mpls.c,v 1.41 2022/09/03 20:29:31 thorpej Exp $ */
/*
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_mpls.c,v 1.40 2022/09/03 02:47:59 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_mpls.c,v 1.41 2022/09/03 20:29:31 thorpej Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@ -104,6 +104,9 @@ extern int mpls_defttl, mpls_mapttl_inet, mpls_mapttl_inet6, mpls_icmp_respond,
mpls_rfc4182;
static u_int mpls_count;
void mplsattach(int);
/* ARGSUSED */
void
mplsattach(int count)

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2015/10/19 16:16:38 pooka Exp $
# $NetBSD: Makefile,v 1.6 2022/09/03 20:29:30 thorpej Exp $
#
.PATH: ${.CURDIR}/../../../../net ${.CURDIR}/../../../../netmpls
@ -7,8 +7,7 @@ LIB= rumpnet_netmpls
COMMENT=Multiprotocol Label Switching (PF_MPLS)
IOCONF= NETMPLS.ioconf
SRCS= mpls_ttl.c if_mpls.c
SRCS+= netmpls_component.c
SRCS= netmpls_component.c
.include <bsd.lib.mk>
.include <bsd.klinks.mk>

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile.inc,v 1.2 2014/03/18 18:20:44 riastradh Exp $
# $NetBSD: Makefile.inc,v 1.3 2022/09/03 20:29:30 thorpej Exp $
#
.PATH: ${.CURDIR}/../../../../netmpls
SRCS+= mpls_proto.c
SRCS+= mpls_ttl.c if_mpls.c mpls_proto.c