diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2011-04-24 19:36:55 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2011-04-24 19:36:55 +0000 |
commit | ccf01298eb370933be2f6386e5502f7f812047bc (patch) | |
tree | 08626863187ebafa510ae55a9c551d731cd4bf76 /sys/msdosfs/fat.h | |
parent | 7b1ea8a3a89e1966e6de0290fc2ecd008d8f4128 (diff) |
Double link between pf states and sockets. Henning has already
implemented half of it. The additional part is:
- The pf state lookup for outgoing packets is optimized by using
mbuf->inp->state.
- For incomming tcp, udp, raw, raw6 packets the socket lookup always
is optimized by using mbuf->state->inp.
- All protocols establish the link for incomming packets.
- All protocols set the inp in the mbuf for outgoing packets.
This allows the linkage beginning with the first packet for
outgoing connections.
- In case of divert states, delete the state when the socket closes.
Otherwise new connections could match on old states instead of
being diverted to the listen socket.
ok henning@
Diffstat (limited to 'sys/msdosfs/fat.h')
0 files changed, 0 insertions, 0 deletions