mirror of
https://github.com/lgcosta/pf-linux-port.git
synced 2026-11-12 20:28:06 -03:00
- pfk_hooks: PRE→PF_IN, LOCAL_OUT/POST→PF_OUT v4+v6; replacement/buffer handling with NF_STOLEN + re-injection (documented divergence: re-entry) - pfk_mod: pf_status_init/pfattach + pfi attach via pfk_if event callback - pfk_kern: NET_LOCK holder reentrancy (fix deadlock when notifier fires under the write lock — observed as full-VM network hang) - tools: static pfctl link for musl VMs
57 lines
1.7 KiB
C
57 lines
1.7 KiB
C
/* PFLINUX: shadow <netinet/icmp6.h> — glibc's copy lacks the MLD/nodeinfo
|
|
* and ND redirect-code constants pfctl_parser.c's icmp6-type keyword
|
|
* table references. Values copied verbatim from
|
|
* _vendor/openbsd/obbsd/sys/netinet/icmp6.h (OpenBSD 8.0). */
|
|
#ifndef _PFLINUX_NETINET_ICMP6_H
|
|
#define _PFLINUX_NETINET_ICMP6_H
|
|
|
|
#include_next <netinet/icmp6.h>
|
|
|
|
#ifndef ICMP6_MEMBERSHIP_QUERY
|
|
#define ICMP6_MEMBERSHIP_QUERY 130 /* group membership query */
|
|
#endif
|
|
#ifndef ICMP6_MEMBERSHIP_REPORT
|
|
#define ICMP6_MEMBERSHIP_REPORT 131 /* group membership report */
|
|
#endif
|
|
#ifndef ICMP6_MEMBERSHIP_REDUCTION
|
|
#define ICMP6_MEMBERSHIP_REDUCTION 132 /* membership termination */
|
|
#endif
|
|
#ifndef ICMP6_WRUREQUEST
|
|
#define ICMP6_WRUREQUEST 139 /* who are you request */
|
|
#endif
|
|
#ifndef ICMP6_WRUREPLY
|
|
#define ICMP6_WRUREPLY 140 /* who are you reply */
|
|
#endif
|
|
#ifndef ICMP6_FQDN_QUERY
|
|
#define ICMP6_FQDN_QUERY 139 /* FQDN query */
|
|
#endif
|
|
#ifndef ICMP6_FQDN_REPLY
|
|
#define ICMP6_FQDN_REPLY 140 /* FQDN reply */
|
|
#endif
|
|
#ifndef ICMP6_NI_QUERY
|
|
#define ICMP6_NI_QUERY 139 /* node information request */
|
|
#endif
|
|
#ifndef ICMP6_NI_REPLY
|
|
#define ICMP6_NI_REPLY 140 /* node information reply */
|
|
#endif
|
|
#ifndef MLD_LISTENER_DONE
|
|
#define MLD_LISTENER_DONE 132 /* multicast listener done */
|
|
#endif
|
|
#ifndef MLD_MTRACE_RESP
|
|
#define MLD_MTRACE_RESP 200 /* mtrace resp (to sender) */
|
|
#endif
|
|
#ifndef MLD_MTRACE
|
|
#define MLD_MTRACE 201 /* mtrace messages */
|
|
#endif
|
|
#ifndef MLDV2_LISTENER_REPORT
|
|
#define MLDV2_LISTENER_REPORT 143 /* RFC3810 listener report */
|
|
#endif
|
|
#ifndef ND_REDIRECT_ONLINK
|
|
#define ND_REDIRECT_ONLINK 0 /* redirect to on-link node */
|
|
#endif
|
|
#ifndef ND_REDIRECT_ROUTER
|
|
#define ND_REDIRECT_ROUTER 1 /* redirect to better router */
|
|
#endif
|
|
|
|
#endif /* _PFLINUX_NETINET_ICMP6_H */
|