ip_var.h (96e63e89) ip_var.h (77c03cb2)
1/* $OpenBSD: ip_var.h,v 1.64 2016/11/28 23:15:31 bluhm Exp $ */
1/* $OpenBSD: ip_var.h,v 1.65 2016/12/19 09:22:24 rzalamena Exp $ */
2/* $NetBSD: ip_var.h,v 1.16 1996/02/13 23:43:20 christos Exp $ */
3
4/*
5 * Copyright (c) 1982, 1986, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 179 unchanged lines hidden (view full) ---

189#define IP_RAWOUTPUT 0x2 /* raw ip header exists */
190#define IP_ALLOWBROADCAST SO_BROADCAST /* can send broadcast packets */
191#define IP_MTUDISC 0x0800 /* pmtu discovery, set DF */
192
193extern struct ipstat ipstat;
194extern LIST_HEAD(ipqhead, ipq) ipq; /* ip reass. queue */
195extern int ip_defttl; /* default IP ttl */
196#ifdef MROUTING
2/* $NetBSD: ip_var.h,v 1.16 1996/02/13 23:43:20 christos Exp $ */
3
4/*
5 * Copyright (c) 1982, 1986, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 179 unchanged lines hidden (view full) ---

189#define IP_RAWOUTPUT 0x2 /* raw ip header exists */
190#define IP_ALLOWBROADCAST SO_BROADCAST /* can send broadcast packets */
191#define IP_MTUDISC 0x0800 /* pmtu discovery, set DF */
192
193extern struct ipstat ipstat;
194extern LIST_HEAD(ipqhead, ipq) ipq; /* ip reass. queue */
195extern int ip_defttl; /* default IP ttl */
196#ifdef MROUTING
197extern struct socket *ip_mrouter; /* multicast routing daemon */
197extern struct socket *ip_mrouter[]; /* multicast routing daemon */
198#endif
199
200#define IPMTUDISCTIMEOUT (10 * 60) /* as per RFC 1191 */
201
202extern int ip_mtudisc; /* mtu discovery */
203extern u_int ip_mtudisc_timeout; /* seconds to timeout mtu discovery */
204
205extern int ipport_firstauto; /* min port for port allocation */

--- 56 unchanged lines hidden ---
198#endif
199
200#define IPMTUDISCTIMEOUT (10 * 60) /* as per RFC 1191 */
201
202extern int ip_mtudisc; /* mtu discovery */
203extern u_int ip_mtudisc_timeout; /* seconds to timeout mtu discovery */
204
205extern int ipport_firstauto; /* min port for port allocation */

--- 56 unchanged lines hidden ---