pf ouraddr in ip6_input

2016-07-18 Thread Alexander Bluhm
Hi, The IPv4 ip_input() uses a shortcut if the pf state key is linked to a socket inp. Let's do the same thing for IPv6. ok? bluhm Index: netinet6/ip6_input.c === RCS file: /cvs/src/sys/netinet6/ip6_input.c,v retrieving revision

Re: pf ouraddr

2016-07-18 Thread Alexandr Nedvedicky
Hello, it looks good to me. OK sasha On Mon, Jul 18, 2016 at 10:51:44AM +0200, Alexander Bluhm wrote: > Hi, > > To hide pf internals move code from in_ouraddr() to pf_ouraddr(). > This will also make it possible to implement the same shortcut for > IPv6. > > ok? > > bluhm >

pf ouraddr

2016-07-18 Thread Alexander Bluhm
Hi, To hide pf internals move code from in_ouraddr() to pf_ouraddr(). This will also make it possible to implement the same shortcut for IPv6. ok? bluhm Index: net/pf.c === RCS file: /data/mirror/openbsd/cvs/src/sys/net/pf.c,v