Age | Commit message (Collapse) | Author |
|
specific part of pf_test_state_icmp(). This worked by accident on LP64
archs as the struct is eight bytes long.
ok mikeb@ bluhm@ krw@ jca@
|
|
swofp_validate_action(), because actions have a different class of errors.
While there update the error type and error variables type to match the
swofp_send_error() prototype.
|
|
since they were not being used and the OpenFlow specification doesn't
mention anything about them.
ok reyk@
|
|
ok reyk@
|
|
when RTF_CONNECTED routes are added to the routing table.
Specify a route priority calculated in the same way when deleting such routes.
Makes route add and delete code paths consistent again.
ok mpi@
|
|
Local var 'up' is never set in ifioctl().
OK mpi@
|
|
|
|
ofp_map.c file.
ok reyk@
|
|
it to limit the amount of installable groups.
|
|
calling splsoftnet() recursively.
|
|
Move the corresponding code in in6_pcbselsrc(). This reduces
differences with IPv4 and will help us to get rid of 'struct route*'.
ok vgross@
|
|
32bit integers.
|
|
size changes and add more sanity checks for group buckets payload.
|
|
NULL tests.
ok mpi@
|
|
OpenFlow packets: the new DLT_OPENFLOW bpf methods allows to monitor
the communication with a switch(4) device with tcpdump now. The
remaining debugging messages aren't compiled without DEBUG now. On
amd64, this shrinks the switchofp.o object by about 10k by default and
about 8k with DEBUG enabled.
OK rzalamena@
|
|
hardmtu, pick a value of 65435 that leaves space for some
encapsulation and almost a complete max-IP packet. After some
discussion we picked this arbitrary value.
OK dlg@
|
|
If an incoming packet is directly put into the output path, sending
the icmp error packet is never done. As this is basically forwarding,
calling ip_forward() for such packets does everything that is needed.
OK mikeb@
|
|
group-mod message sizes and validate bucket sizes and actions lists.
Discussed with reyk@: we should get this in as it is better to have some
validation than having none at all.
|
|
|
|
before we call ifpromisc() and possibly sleep.
ok bluhm@
|
|
dedicated number. Both changes for consistency.
OK rzalamena@
|
|
parser cannot handle that correctly and is is unclear wether the
kernel code would work. Remove the feature until someone needs it
and properly implements and tests it.
OK mike@ sashan@ mpi@
|
|
ok reyk@
|
|
Prevent pf_socket_lookup() reading uninitialised header buffers on fragments.
OK blum@ sashan@
|
|
change the truncation message in hello with the standard one.
ok reyk@
|
|
ok reyk@
|
|
in pf. Drop the whole fragment state if IPv6 fragments appear which
have invalid length or fragment-offset or more-fragment-bit. In
IPv4 they are considered invalid and just dropped like before.
Found by Antonios Atlasis; OK sashan@ sthen@
|
|
af-to. pf_route6() called ip6_output() to do the work while
pf_route() had some custom implementation for that. It is simpler
to call ip_output() or ip6_output() from pf_test() directly.
OK procter@ sashan@
|
|
ok jsg@
|
|
are fulfilled in bpf_catchpacket().
|
|
|
|
This will allow us to keep locking simple as soon as we trade
splsoftnet() for a rwlock.
ok bluhm@, claudio@
|
|
messages.
ok reyk@
|
|
make "addlocal" an alias to "add" on bridge. addlocal is handled
differently on switch(4).
OK yasuoka@
|
|
OK rzalamena@
|
|
ok dlg@, jmatthew@
|
|
This allows us to introduce SRPL_NEXT() that can be used to start
iterating on an arbitrary member of an srp list, hence without calling
SRPL_ENTER().
ok dlg@, jmatthew@
|
|
Requested by rzalamena@
|
|
length instead of the packet instruction length to free the old
instruction.
ok reyk@
|
|
|
|
|
|
|
|
|
|
indirectly documented in the specification. Add the states to the
header as it is important for all implementations. Both switch(4) and
switchd(8) have to be updated to follow the fsm instead of answering
any requests at any time.
OK rzalamena@
|
|
- Use the right amount of zeros to match the header bit length;
- Use hex instead of bit shifting;
|
|
each counter is identified by an enum value which correspond to the
original members of the udpstat struct.
udpstat_inc(udps_foo) replaces udpstat.udps_foo++ for the actual
updates. udpstat_inc is a thin wrapper around counters_inc.
counters are still returned to userland via the udpstat struct for
now.
ok mpi@ mikeb@ deraadt@
|
|
Suggested by reyk@ as a quick fix to unbreak ports/net/wireshark.
|
|
Since soft-interrupt for network processing are no more, the
KERNEL_LOCK() is what protect two concurrent threads from
accessing data structures.
ok goda@
|
|
after fragment headers. Add an extra check that the hop-by-hop
header is always the first extension header after the IPv6 header.
Found by Antonios Atlasis; OK sthen@ mpi@
|
|
|