summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Expand)Author
2022-06-29Nullify `ipsecflowinfo' when mbuf(9) has no ipsec flowinfo data.Vitaliy Makkoveev
2022-06-28Use btrace(8) to debug reference counting. dt(4) provides a staticAlexander Bluhm
2022-06-27Push the kernel lock down into arpresolve(). We still need it toAlexander Bluhm
2022-06-27Instead of calling getuptime() all the time in ARP code, do it onlyAlexander Bluhm
2022-06-26The "ifq_set_maxlen(..., 1);" hack we use to enforce pipex(4) relatedVitaliy Makkoveev
2022-06-17The timeout for ipsec acquire does not decrement the referenceAlexander Bluhm
2022-06-06Simplify solock() and sounlock(). There is no reason to return a valueClaudio Jeker
2022-05-25Call if_put(9) after we finish with `ia' within ip_getmoptions().Vitaliy Makkoveev
2022-05-15have in_pcbselsrc copy the selected address to memory provided by the caller.David Gwynne
2022-05-09Protect sbappendaddr() in divert_packet() with kernel lock. WithAlexander Bluhm
2022-05-05Clean up divert_packet(). Function does not return error, make itAlexander Bluhm
2022-05-05Use static objects for struct rttimer_queue instead of dynamicallyClaudio Jeker
2022-05-05No longer consider IN_EXPERIMENTAL aka 240/4 as not forwardable.Claudio Jeker
2022-05-04Move rttimer callback function from the rttimer itself to rttimer_queue.Claudio Jeker
2022-05-04In ipsp_spd_lookup() rename the parameter tdbp to tdbin as it isAlexander Bluhm
2022-05-03Retire CRYPTO_F_MPSAFE it is no longer of any use. The crypto frameworkClaudio Jeker
2022-04-30When performing ipsp_ids_free(), grab `ipsec_flows_mtx' mutex(9) before doVitaliy Makkoveev
2022-04-30Convert the 2nd rttimer callback from struct rttimer to u_int rtableid.Claudio Jeker
2022-04-28In the multicast router code don't allocate a rt timer queue for eachClaudio Jeker
2022-04-28Decouple IP input and forwarding from protocol input. This allowsAlexander Bluhm
2022-04-21Introduce a dedicated link entries for snapshots in pfsync(4). The purposeAlexandr Nedvedicky
2022-04-20Route timeout was a mixture of int, u_int and long. Use type intAlexander Bluhm
2022-04-14Relax address availability check for multicast binds.Claudio Jeker
2022-03-28if_detach() does if_remove(ifp); NET_LOCK(); rti_delete(). NewAlexander Bluhm
2022-03-23Move global variable ripsrc onto stack, it is only used once withinAlexander Bluhm
2022-03-22For raw IP packets rip_input() traverses the loop of all PCBs. FromAlexander Bluhm
2022-03-22Fix whitespace.Alexander Bluhm
2022-03-21For multicast and broadcast packets udp_input() traverses the loopAlexander Bluhm
2022-03-21Fix whitespace. Wrap long lines. Adjust outdated comment.Alexander Bluhm
2022-03-21Header netinet/in_pcb.h includes sys/mutex.h now. Recommit mutexAlexander Bluhm
2022-03-21call in_pcbselsrc from rip_output so route sourceaddr can take effect.David Gwynne
2022-03-21treat 255.255.255.255 like an mcast address in in_pcbselsrc.David Gwynne
2022-03-20Include sys/mutex.h from netinet/in_pcb.h. Struct mutex will beAlexander Bluhm
2022-03-14Unbreak the tree, revert commitid aZ8fm4iaUnTCc0ulTheo Buehler
2022-03-14pf_socket_lookup() calls in_pcbhashlookup() in the PCB layer. ToAlexander Bluhm
2022-03-13Hrvoje has hit a crash with IPsec acquire while testing the parallelAlexander Bluhm
2022-03-10Use atomic load and store functions to access refcnt and waitAlexander Bluhm
2022-03-08In IPsec policy replace integer refcount with atomic refcount.Alexander Bluhm
2022-03-06Usually we check ipsec_in_use as shortcut to avoid IPsec lookups,Alexander Bluhm
2022-03-04in_addmulti() is only called from ioctl(2) or setsockopt(2). WaitAlexander Bluhm
2022-03-04in_pcbinit() is called during boot. There malloc(9) cannot fail,Alexander Bluhm
2022-03-02Use NULL instead of 0 for pointer.Alexander Bluhm
2022-03-02Merge two comments describing the locks into one.Alexander Bluhm
2022-03-02The return value of in6_pcbnotify() is never used. Make it a voidAlexander Bluhm
2022-03-01Remove outdated comment about v4-mapped v6 addresses. They are notAlexander Bluhm
2022-02-25Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.comPhilip Guenther
2022-02-25Move pr_attach and pr_detach to a new structure pr_usrreqs that canPhilip Guenther
2022-02-22Delete unnecessary #includes of <netinet6/ip6protosw.h>: some neverPhilip Guenther
2022-02-22Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>Philip Guenther
2022-02-16rewrite vxlan to better fit the current kernel infrastructure.David Gwynne