summaryrefslogtreecommitdiff
path: root/sys/netinet/in.c
AgeCommit message (Expand)Author
2020-03-15Guard SIOCDELMULTI if_ioctl calls with KERNEL_LOCK() where the call isVisa Hankala
2019-12-01Don't require a valid sa_len for a bunch of IPv4 "get" ioctlsJeremie Courreges-Anglas
2019-11-28Although ifconfig(8) checks it already, enforce contiguous inetAlexander Bluhm
2019-11-08convert interface address change hooks to tasks and a task_list.David Gwynne
2019-11-07Do propper kernel input validation for in_control() ioctl(2)Alexander Bluhm
2019-10-23Kernel is missing propper input validation when configuring addresses.Alexander Bluhm
2019-07-25Add IFXF_AUTOCONF4 to if_xflags to match IFXF_AUTOCONF6. LetKenneth R Westerback
2019-02-13change rt_ifa_add and rt_ifa_del so they take an rdomain argument.David Gwynne
2019-02-10remove the implict RTF_MPATH flag that rt_ifa_add() sets on new routes.David Gwynne
2018-07-11Disambiguate the source of panics in sys/net* by adding __func__Nayden Markatchev
2018-06-03SIOCSIFNETMASK takes a 'struct ifreq', so use 'ifr' for it and drop theTheo Buehler
2018-06-03Better version of the refactoring attempted in r1.154. Move SIOCSIFADDRTheo Buehler
2018-05-31zap trailing whitespaceTheo Buehler
2018-05-31Re-commit the correct half of revision 1.154:Theo Buehler
2018-05-31Back out previous. The handling of SIOCSIFADDR is now wrong.Theo Buehler
2018-05-31Some more code shuffling to get rid of one switch in each, in_ioctl()Theo Buehler
2018-05-28Next step in disentangling the switches in in_ioctl(). Split out theTheo Buehler
2018-05-25Prepare in_ioctl() for further refactoring with the goal of merging theTheo Buehler
2018-05-02Split out the handling of SIOCGIF* into a new function, in_ioctl_get(),Theo Buehler
2018-04-30Reduce the scope of the NET_LOCK() in in_control(). Two functions wereTheo Buehler
2018-04-24Make the ramdisks compile again, we don't have MROUTING on them.Florian Obser
2018-04-24Push NET_LOCK down in the default ifioctl case.Paul Irofti
2018-03-02Revert all the bits of the autocreate 127.0.0.1 on lo(4) creation for now.Claudio Jeker
2018-02-10Kill unneeded caddr_t cast.Claudio Jeker
2018-02-10Similar to the IPv6 case create 127.0.0.1/8 on lo(4) interfaces which actClaudio Jeker
2017-11-04Stop calling ifp->if_ioctl() inside in{,6}_ioctl().Martin Pieuchot
2017-10-24Remove some more tests checking for a non-NULL `ifp->if_ioctl'.Martin Pieuchot
2017-10-24Remove support for never used ioctls originating from KAME.Martin Pieuchot
2017-10-20Do not test if if_ioctl is NULL, it isn't.Martin Pieuchot
2017-08-11Validate sockaddr from userland in central functions. This resultsAlexander Bluhm
2017-05-29Per-interface list of addresses, both multicast and unicast, areMartin Pieuchot
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-05-04Introduce sstosa() for converting sockaddr_storage with a type safeAlexander Bluhm
2017-03-27Fix the prefixlen sent by RTM_NEWADDR on new addresses without masks:Rafael Zalamena
2017-02-16Revert "Release the NET_LOCK() before entering per-driver ioctl() routine".Martin Pieuchot
2017-02-07Release the NET_LOCK() before entering per-driver ioctl() routine.Martin Pieuchot
2016-12-20Remove duplicate in_ioctl() prototype, it is in in_var.h now.Alexander Bluhm
2016-12-19Remove a recursive splsoftnet() in in_ioctl() that already asserts thatMartin Pieuchot
2016-12-19If rt_ifa_addlocal() in in_ifinit() fails, the address has beenAlexander Bluhm
2016-12-05Remove recursive splsoftnet()s in ioctl(2) path.Martin Pieuchot
2016-09-04Purge routes attached to an address when this address is removed.Martin Pieuchot
2016-06-13Move the ioctl(2) logic of in{,6}_control() into two new functionsMartin Pieuchot
2016-04-18Put a KERNEL_LOCK/UNLOCK dance around sections that still need someMartin Pieuchot
2016-01-21Introduce in{,6}_hasmulti(), two functions to check in the hot path ifMartin Pieuchot
2015-12-03Get rid of rt_mask() and stop allocating a "struct sockaddr" for everyMartin Pieuchot
2015-11-24No need for <net/if_types.h>Martin Pieuchot
2015-09-12Now that rtrequest1(9) properly sets RTF_UP for newly added route,Martin Pieuchot
2015-09-09gotta if_put after you if_getDavid Gwynne
2015-08-24In kernel initialize struct sockaddr_in and sockaddr_in6 to zeroAlexander Bluhm
2015-07-08Use a new RTF_CONNECTED flag for interface (connected) routes.Martin Pieuchot