summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
2015-10-30Add m_resethdr() to clear any state (pf, tags, flags) of an mbuf packet.Reyk Floeter
2015-10-30Clean up handling of 'clear states' pfsync packets.Mike Belopuhov
2015-10-30Rename rtrequest1() to rtrequest().Alexander Bluhm
2015-10-28Remove linkmtu and maxmtu from struct nd_ifinfo. IN6_LINKMTU can nowFlorian Obser
2015-10-27Use rt_ifidx rather than rt_ifp.Martin Pieuchot
2015-10-25unbreak tree for ramdisks without INET6Theo de Raadt
2015-10-25I should not have committed this chunk. Spotted by krw@Martin Pieuchot
2015-10-25Simple sizes for free(9).Martin Pieuchot
2015-10-25Merge rtable_mpath_conflict() into rtable_insert().Martin Pieuchot
2015-10-25Be more consisten with rtmsgs. Always set rtm_index (even in the RTM_GETClaudio Jeker
2015-10-25Do not overwrite if_rtrequest() if the driver specified it *before*Martin Pieuchot
2015-10-25ifa is no longer used.Martin Pieuchot
2015-10-25arp_ifinit() is no longer required.Martin Pieuchot
2015-10-25Introduce if_rtrequest() the successor of ifa_rtrequest().Martin Pieuchot
2015-10-25Introduce if_rtrequest() the successor of ifa_rtrequest().Martin Pieuchot
2015-10-25Instead of doing the the if_get() dance for rt_missmsg(), change theAlexander Bluhm
2015-10-24Some rt_ifp to rt_ifidx conversions.Martin Pieuchot
2015-10-24Define ``rt_ifidx'' as rt_ifp->if_index to ease the transtion towardsMartin Pieuchot
2015-10-24Remove superfluous assignment.Reyk Floeter
2015-10-24Add pair(4), a vether-based virtual Ethernet driver to interconnectReyk Floeter
2015-10-24lookup tap devices in tapkqfilter, not tun devices.David Gwynne
2015-10-23Split up tun(4) into tun(4) & tap(4). Killing the link0 magic to switchClaudio Jeker
2015-10-23Update route entries reference counters atomically.Martin Pieuchot
2015-10-23It was possible to create a gateway route pointing to another gatewayAlexander Bluhm
2015-10-23Introduce a new sysctl NET_RT_IFNAMES that returns only ifnames to ifindexClaudio Jeker
2015-10-23pass the right sizes to free.David Gwynne
2015-10-23inline the hfsc_active TAILQ.David Gwynne
2015-10-23inline the hif_eligible TAILQ.David Gwynne
2015-10-23counting packets in hif_packets in hfsc_if is redundant.David Gwynne
2015-10-23tweak the vnetid so it can be optional and therefore cleared/deleted.David Gwynne
2015-10-23remove the pointer from hfsc_class structs back to hfsc_if.David Gwynne
2015-10-22Kill link_rtrequest(), introduce in 1990 to "fix" the resultMartin Pieuchot
2015-10-22Use only one refcounting mechanism for route entries.Martin Pieuchot
2015-10-22Only check for rt_ifp now that it is alays the same as rt_ifa->ifa_ifp.Martin Pieuchot
2015-10-22Make sure that the address matching the key (destination) of a routeMartin Pieuchot
2015-10-22Kill dead code, ifa is specified and won't change.Martin Pieuchot
2015-10-22Inspired by satosin(), use inline functions to convert sockaddr dl.Alexander Bluhm
2015-10-22Do not dereference ``ifa_ifp'' when we already have an ``ifp'' pointer.Martin Pieuchot
2015-10-21Return the correct error code when a table already exists.Martin Pieuchot
2015-10-21u_short -> unsigned int for rtableid.Martin Pieuchot
2015-10-17Fix build with IFMEDIA_DEBUG defined; ok sthen@Stefan Sperling
2015-10-16If a DOWN route entry is passed to a L2 output function, be dumb andMartin Pieuchot
2015-10-15When using a pf rule with both nat-to and rdr-to, it could happenAlexander Bluhm
2015-10-15Fix previous. The port number is not included in sc_src and it isYASUOKA Masahiko
2015-10-14Reset the RTF_CONNECTED flag when cloning an entry.Martin Pieuchot
2015-10-14Rewrite the logic around the dymanic array of routing tables to helpMartin Pieuchot
2015-10-13- pf_insert_src_node(): global argument (arg6) is useless, functionAlexandr Nedvedicky
2015-10-13Make sure RTF_LOCAL route entries are UP when added to the tree.Martin Pieuchot
2015-10-12the pattr argument to IFQ_ENQUEUE is unused, so let's get rid of it.David Gwynne
2015-10-12Unify link state change notification.Martin Pieuchot