summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
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
2015-10-12dont need to do suser checks in ioctl paths cos if.c does them for us.David Gwynne
2015-10-12protect SIOCSLIFPHYTTL, SIOCSVNETID so only root can call them, andDavid Gwynne
2015-10-12Introduce bridge_ifinput() to handle some repeated logic beforeReyk Floeter
2015-10-08Make sure that when trunk_port_ioctl is called to set a newMike Belopuhov
2015-10-08if the mbuf has a valid flowid, use it instead of using siphash24David Gwynne
2015-10-08use the state id to set a flowid on an mbuf.David Gwynne
2015-10-08Unlock the softnet task.Martin Pieuchot
2015-10-08Use the radix API directly and get rid of the function pointers. ThereMartin Pieuchot
2015-10-07one simple free, ok mpiTheo de Raadt
2015-10-07rn_inithead() offset argument is now specified in byte, missed in previous.Martin Pieuchot
2015-10-07Make rtable_get() private to ensure it won't be used outside ofMartin Pieuchot
2015-10-07Initialize the routing table before domains.Martin Pieuchot
2015-10-07Move route entry debug helpers where they belong.Martin Pieuchot
2015-10-07Move the reference counting of a newly created route entry insideMartin Pieuchot
2015-10-07Do not call bpf_catchpacket() if another CPU detached a file from theMartin Pieuchot
2015-10-05Revert if_oqdrops accounting changes done in kernel, per request from mpi@.Masao Uebayashi