sync with OpenBSD -current
This commit is contained in:
parent
02d83d01a6
commit
005bcb25db
29 changed files with 312 additions and 230 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: in_pcb.h,v 1.141 2023/12/01 15:30:46 bluhm Exp $ */
|
||||
/* $OpenBSD: in_pcb.h,v 1.142 2023/12/03 20:24:17 bluhm Exp $ */
|
||||
/* $NetBSD: in_pcb.h,v 1.14 1996/02/13 23:42:00 christos Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -205,7 +205,7 @@ struct inpcbtable {
|
|||
* These flags' values should be determined by either the transport
|
||||
* protocol at PRU_BIND, PRU_LISTEN, PRU_CONNECT, etc, or by in_pcb*().
|
||||
*/
|
||||
#define INP_IPV6 0x100 /* sotopf(inp->inp_socket) == PF_INET6 */
|
||||
#define INP_IPV6 0x100 /* socket, proto, domain, family is PF_INET6 */
|
||||
|
||||
/*
|
||||
* Flags in inp_flags for IPV6
|
||||
|
@ -273,8 +273,6 @@ extern struct baddynamicports baddynamicports;
|
|||
extern struct baddynamicports rootonlyports;
|
||||
extern int in_pcbnotifymiss;
|
||||
|
||||
#define sotopf(so) (so->so_proto->pr_domain->dom_family)
|
||||
|
||||
void in_init(void);
|
||||
void in_losing(struct inpcb *);
|
||||
int in_pcballoc(struct socket *, struct inpcbtable *, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue