summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Expand)Author
2015-10-23``rt_ifp'' cannot be NULL.Martin Pieuchot
2015-10-22Drop historical comment and an old '#if notyet'.Martin Pieuchot
2015-10-22Make sure that the address matching the key (destination) of a routeMartin Pieuchot
2015-10-22Inspired by satosin(), use inline functions to convert sockaddr dl.Alexander Bluhm
2015-10-22Do not pass an ``ia'' just to dereference ``ia_ifp''.Martin Pieuchot
2015-10-22Do not dereference ``ia_ifp'' when we already have an ``ifp'' pointer.Martin Pieuchot
2015-10-20add a new getsockopt option IP_IPDEFTTL to retrieve the default ttl.Sebastian Benoit
2015-10-20At guenther's suggestion replace dnssocket() with a SOCK_DNS flag onTheo de Raadt
2015-10-19Stop checking for RTF_UP directly, call rtisvalid(9) instead.Martin Pieuchot
2015-10-19Sync rtisvalid(9) check for local route entries with r1.257 ofMartin Pieuchot
2015-10-19Remove superfluous NULL checks.Martin Pieuchot
2015-10-19deduplicate in[6]_pcbbind() port scan loop.Vincent Gross
2015-10-18Add two new system calls: dnssocket() and dnsconnect(). This creates aTheo de Raadt
2015-10-14Init a variable in the recently added carp_vhe_match() function clangJonathan Gray
2015-10-13Make use of rtisvalid(9) to check if local route entries match existingMartin Pieuchot
2015-10-13Simplify arptfree() to no longer look at the route entry's refcounter.Martin Pieuchot
2015-10-13Use rtisivalid(9) to check if the given (cached) route can be used.Martin Pieuchot
2015-10-09Rename tame() to pledge(). This fairly interface has evolved to be moreTheo de Raadt
2015-10-07easy size for free(); ok mpiTheo de Raadt
2015-10-07Initialize the routing table before domains.Martin Pieuchot
2015-10-07Move route entry debug helpers where they belong.Martin Pieuchot
2015-10-05Revert if_oqdrops accounting changes done in kernel, per request from mpi@.Masao Uebayashi
2015-10-05Don't count IF_DROP()'ed packets as if_oerrors too.Masao Uebayashi
2015-10-02add a comment above the rfc1948 code that mentions the rfc so it's easy to findTed Unangst
2015-09-28Factors ou the route hashing code to implement Equal-Cost Multi-PathMartin Pieuchot
2015-09-28Merge gif(4)'s tentacles in a single file.Martin Pieuchot
2015-09-28Do not manually decrement rt's refcounter in arplookup() and let theMartin Pieuchot
2015-09-27Welcome etheranyaddr, cousin of etherbroadcastaddr.Stefan Sperling
2015-09-27make carp_input mpsafe.David Gwynne
2015-09-25Ensure that RTF_LOCAL route entries always stay UP.Martin Pieuchot
2015-09-23Always increment rt_use inside rtalloc(9) instead of doing it in someMartin Pieuchot
2015-09-22Remove inpt_lastport from struct inpcbtable, use local variablesVincent Gross
2015-09-16Fix uninitalized use of variable.Claudio Jeker
2015-09-13There's no point in abstracting ifp->if_output() as long as pf_test()Martin Pieuchot
2015-09-13if_put() after if_get().Martin Pieuchot
2015-09-13Get the default loopback interface pointer just after doing a routeMartin Pieuchot
2015-09-13queue revarps to softnet so we can defer processing to a context withDavid Gwynne
2015-09-12consistently name the ifnet * that refers to the parent interfaceDavid Gwynne
2015-09-12Now that rtrequest1(9) properly sets RTF_UP for newly added route,Martin Pieuchot
2015-09-12Stop overwriting the rt_ifp pointer of RTF_LOCAL routes with lo0ifp.Martin Pieuchot
2015-09-12Introduce if_input_local() a function to feed local traffic back toMartin Pieuchot
2015-09-12Fix two cases where it was possible to call if_put with an uninitialized ifpClaudio Jeker
2015-09-12vhif_ifp in struct carp_ifs is set but never used. it can be trimmed.David Gwynne
2015-09-12vhif_nvrs in carp_if is used to count the number of entries inDavid Gwynne
2015-09-11if_put after if_get in ip_savecontrolDavid Gwynne
2015-09-11if_put after if_get in igmp_joingroupDavid Gwynne
2015-09-11if_put() after if_get for ip_output. This became suddenly super trivial.Claudio Jeker
2015-09-11There is no need to do the route lookups twice just because of IPSec.Claudio Jeker
2015-09-11Convert _TM_ flags to TAME_ flags, collapsing the entire mappingTheo de Raadt
2015-09-11When pf modifies a TCP packet, it sets the M_TCP_CSUM_OUT flag inAlexander Bluhm