History log of /openbsd/sys/netinet/ip_gre.h (Results 1 – 20 of 20)
Revision Date Author Comments
# 66570633 01-Jan-2025 bluhm <bluhm@openbsd.org>

Fix whitespace.


# 0f9e9ec2 13-May-2024 jsg <jsg@openbsd.org>

remove prototypes with no matching function
ok mpi@


# 90b3510c 27-Aug-2022 mvs <mvs@openbsd.org>

Move PRU_SEND request to (*pru_send)().

The former PRU_SEND error path of gre_usrreq() had `control' mbuf(9)
leak. It was fixed in new gre_send().

The former pfkeyv2_send() was renamed to pfkeyv2_d

Move PRU_SEND request to (*pru_send)().

The former PRU_SEND error path of gre_usrreq() had `control' mbuf(9)
leak. It was fixed in new gre_send().

The former pfkeyv2_send() was renamed to pfkeyv2_dosend().

ok bluhm@

show more ...


# 7985bfd0 15-Aug-2022 mvs <mvs@openbsd.org>

Introduce 'pr_usrreqs' structure and move existing user-protocol
handlers into it. We want to split existing (*pr_usrreq)() to multiple
short handlers for each PRU_ request as it was already done for

Introduce 'pr_usrreqs' structure and move existing user-protocol
handlers into it. We want to split existing (*pr_usrreq)() to multiple
short handlers for each PRU_ request as it was already done for
PRU_ATTACH and PRU_DETACH. This is the preparation step, (*pr_usrreq)()
split will be done with the following diffs.

Based on reverted diff from guenther@.

ok bluhm@

show more ...


# 53224561 25-Feb-2022 guenther <guenther@openbsd.org>

Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.com
Revert the pr_usrreqs move: syzkaller found a NULL pointer deref
and I won't be available to monitor for followup issues for a bit


# 80ceac19 25-Feb-2022 guenther <guenther@openbsd.org>

Move pr_attach and pr_detach to a new structure pr_usrreqs that can
then be shared among protosw structures, following the same basic
direction as NetBSD and FreeBSD for this.

Split PRU_CONTROL out

Move pr_attach and pr_detach to a new structure pr_usrreqs that can
then be shared among protosw structures, following the same basic
direction as NetBSD and FreeBSD for this.

Split PRU_CONTROL out of pr_usrreq into pru_control, giving it the
proper prototype to eliminate the previously necessary casts.

ok mvs@ bluhm@

show more ...


# 5d9904c1 04-Nov-2019 dlg <dlg@openbsd.org>

remove mobileip(4)

noone seems to use it, and we should not encourage people to use
it by having it available. it's been disabled for most of the last
release and noones asked for it in 6.6, so i'm

remove mobileip(4)

noone seems to use it, and we should not encourage people to use
it by having it available. it's been disabled for most of the last
release and noones asked for it in 6.6, so i'm taking that as an
ok for this removal.

show more ...


# 93b1bb5e 07-Feb-2018 dlg <dlg@openbsd.org>

update the gre driver.

the main new feature is gre keys, supported by the vnetid ioctls.
this also adds support for gre over ipv6, the use of hfsc, and
allows tx mitigation in the future.

this diff

update the gre driver.

the main new feature is gre keys, supported by the vnetid ioctls.
this also adds support for gre over ipv6, the use of hfsc, and
allows tx mitigation in the future.

this diff removes keepalive support, but i promised claudio@ and
patrick@ i would put it back after this goes in.

ok claudio@

show more ...


# 459fa0fe 14-Apr-2017 bluhm <bluhm@openbsd.org>

Pass down the address family through the pr_input calls. This
allows to simplify code used for both IPv4 and IPv6.
OK mikeb@ deraadt@


# 96be3d96 29-Jan-2017 bluhm <bluhm@openbsd.org>

Change the IPv4 pr_input function to the way IPv6 is implemented,
to get rid of struct ip6protosw and some wrapper functions. It is
more consistent to have less different structures. The divert_inp

Change the IPv4 pr_input function to the way IPv6 is implemented,
to get rid of struct ip6protosw and some wrapper functions. It is
more consistent to have less different structures. The divert_input
functions cannot be called anyway, so remove them.
OK visa@ mpi@

show more ...


# 8f50be26 25-Jan-2017 bluhm <bluhm@openbsd.org>

Since raw_input() and route_input() are gone from pr_input, we can
make the variable parameters of the protocol input functions fixed.
Also add the proto to make it similar to IPv6.
OK mpi@ guenther@

Since raw_input() and route_input() are gone from pr_input, we can
make the variable parameters of the protocol input functions fixed.
Also add the proto to make it similar to IPv6.
OK mpi@ guenther@ millert@

show more ...


# 825b2eb7 12-Jan-2010 yasuoka <yasuoka@openbsd.org>

Add input and user protocol hook to handle GRE packets by pipex.

ok @dlg


# d874cce4 26-Jun-2008 ray <ray@openbsd.org>

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code t

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@

show more ...


# c28eac60 23-Dec-2005 claudio <claudio@openbsd.org>

Remove unnecessary #ifdef MROUTING blocks. OK brad@ markus@


# 3e314211 09-Jun-2002 itojun <itojun@openbsd.org>

whitespace


# 472373dd 03-Apr-2002 angelos <angelos@openbsd.org>

Don't process WCCPv1-style GRE packets, unless allowed (via sysctl
variable); GRE processing must also be allowed. From
joeycoleman@acm.org, ok deraadt@ niklas@


# a836de49 24-Mar-2002 angelos <angelos@openbsd.org>

WCCP support (trivial hack, it's not the complete protocol, but it'll
accept packets from Cisco boxes) --- from joeycoleman@acm.org


# c4071fd1 14-Mar-2002 millert <millert@openbsd.org>

First round of __P removal in sys


# d1eb37ff 09-Jun-2001 angelos <angelos@openbsd.org>

Inclusion protection.


# f550ac5e 07-Jan-2000 angelos <angelos@openbsd.org>

GRE/MobileIP input routine processing, from NetBSD (with a few
changes). Also, minor cleanup in in_proto.c