summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
2013-04-10Fix various glitches in queue macro usage.Philip Guenther
2013-04-02Instead of storing the link-level address of every interface in a globalMartin Pieuchot
2013-03-29Declare struct pf_state_key in the mbuf and in_pcb header files toAlexander Bluhm
2013-03-29Replace hand-crafted loops in if.c with the FOREACH macro.Alexander Bluhm
2013-03-28code that calls timeout functions should include timeout.hTed Unangst
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2013-03-28no need for a lot of code to include proc.hTed Unangst
2013-03-28Replace some casts to struct in_ifaddr pointer by ifatoia() or NULL.Martin Pieuchot
2013-03-28Unfortunately the satosin, sintosa, ifatoia, satosin6, sin6tosa,Alexander Bluhm
2013-03-27Use the correct src/dst ports depending on direction (one of src or dst wasRyan Thomas McBride
2013-03-26Remove various read-only *maxlen variables and use IFQ_MAXLEN directly.Martin Pieuchot
2013-03-20Introduce if_get() to retrieve an interface descriptor pointer givenMartin Pieuchot
2013-03-15change LIST_END to literal NULL for clarity.Ted Unangst
2013-03-14tedu faith(4), suggested by todd@ some weeks ago after a submission byMartin Pieuchot
2013-03-11Add a separate "translation" counter and use this rather than "memory"Stuart Henderson
2013-03-10Switch to ANSI C prototypes. Diff by somebody else which I no longer remember.Claudio Jeker
2013-03-09re-arrange the pre-accounting of the objects in the buffer so itTheo de Raadt
2013-03-09normalize structure definitionsTheo de Raadt
2013-03-07Remove unused ifa_ifwithaf() function.Martin Pieuchot
2013-03-07Remove the IFAFREE() macro, the ifafree() function it was calling alreadyMartin Pieuchot
2013-02-26Don't try to purge one-time rules from the main ruleset.Mike Belopuhov
2013-02-26Reserve space for source and destination addresses unconditionally ratherStuart Henderson
2013-02-25trunk_bcast_start sent packets on all its member interfaces by copyingDavid Gwynne
2013-02-18DIOCRCLRASTATS ioctl wasn't specifying a timestamp when clearedMike Belopuhov
2013-02-13Pipex did panic when the 0 length mppe is given by ioctl. ReturnYASUOKA Masahiko
2013-02-06add pppx(4) interfaces to the "pppx" interface group, as done for variousStuart Henderson
2013-02-05netflow v10 omitted the sysUpTime flow set header field fromFlorian Obser
2013-01-23Change interface and span interface lists from LIST to TAILQ.Camiel Dobbelaar
2013-01-20Make pf TCP sequence number tracking less strict by one octet forAlexander Bluhm
2013-01-18Relax the restriction on sending frames to trunk(4) members to allow BPF writes.Stuart Henderson
2013-01-17hardwire SLIP_HIWAT to 100 (as the comment above suggests) since we areTheo de Raadt
2013-01-17first or second coming, commie or not commie, one m in coming is sufficientHenning Brauer
2013-01-16switch from using softclock ticks to getnanotime when putting time on theDavid Gwynne
2013-01-16Unbreak the negation toggle code when re-loading pf tables. OtherwiseMarkus Friedl
2012-12-29make sure the entry from tree_src_tracking is still in the pool;Markus Friedl
2012-12-29reset the counter in case its current value has been removedMarkus Friedl
2012-12-29pass pf_pool directly to pfr_pool_get(); simplifies the API;Markus Friedl
2012-12-28change the malloc(9) flags from M_DONTWAIT to M_NOWAIT; OK millert@Gleydson Soares
2012-12-22Return EEXIST to 'add' when a port is already a bridge member. This makesCamiel Dobbelaar
2012-12-21Rather than calling mircotime in bpf_catchpacket each time it's calledMike Belopuhov
2012-12-21bpf allocates packet buffers in the ioctl path and can sleepMike Belopuhov
2012-12-14oops, debug printf sneaked in. i must be out of practice.David Gwynne
2012-12-13pipex_init can be called multiple times (by whatever subsystems want to useDavid Gwynne
2012-12-12Rearrange the code a bit to prevent splx() from being called with anMike Belopuhov
2012-12-07Remove stray semicolon. Fixes mbuf leak with devices sending BPDUs toPaul de Weerd
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
2012-11-29Delete needless check for NULL. From Michael W. Bombardieri.YASUOKA Masahiko
2012-11-27remove incorrect splnet usage in pfkey interfaceMike Belopuhov
2012-11-26do not steal mbuf types (leads to a panic if M_ZEROIZE gets set onMarkus Friedl
2012-11-23Add SIOCGIFHARDMTU to allow retrieving the driver's maximum supported MTUStuart Henderson