Module Name: src Committed By: christos Date: Thu Aug 17 15:16:33 UTC 2023
Modified Files: src/sys/net: bpf_filter.c Log Message: define symbols that new libpcap needs To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/net/bpf_filter.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/bpf_filter.c diff -u src/sys/net/bpf_filter.c:1.71 src/sys/net/bpf_filter.c:1.72 --- src/sys/net/bpf_filter.c:1.71 Mon Jun 6 21:06:28 2016 +++ src/sys/net/bpf_filter.c Thu Aug 17 11:16:33 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: bpf_filter.c,v 1.71 2016/06/07 01:06:28 pgoyette Exp $ */ +/* $NetBSD: bpf_filter.c,v 1.72 2023/08/17 15:16:33 christos Exp $ */ /*- * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: bpf_filter.c,v 1.71 2016/06/07 01:06:28 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bpf_filter.c,v 1.72 2023/08/17 15:16:33 christos Exp $"); #if 0 #if !(defined(lint) || defined(KERNEL)) @@ -211,6 +211,7 @@ bpf_filter(const struct bpf_insn *pc, co u_int bpf_filter_ext(const bpf_ctx_t *bc, const struct bpf_insn *pc, bpf_args_t *args) #else +__strong_alias(pcap_filter, bpf_filter) u_int bpf_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen, u_int buflen) @@ -609,6 +610,7 @@ bpf_validate(const struct bpf_insn *f, i int bpf_validate_ext(const bpf_ctx_t *bc, const struct bpf_insn *f, int signed_len) #else +__strong_alias(pcap_validate_filter, bpf_validate) int bpf_validate(const struct bpf_insn *f, int signed_len) #endif