summaryrefslogtreecommitdiff
path: root/sys/netinet/raw_ip.c
AgeCommit message (Expand)Author
2023-11-26Remove inp parameter from ip_output().Alexander Bluhm
2023-01-22Move SS_CANTRCVMORE and SS_RCVATMARK bits from `so_state' to `sb_state' ofVitaliy Makkoveev
2022-10-17Change pru_abort() return type to the type of void and make pru_abort()Vitaliy Makkoveev
2022-10-03System calls should not fail due to temporary memory shortage inAlexander Bluhm
2022-09-13Do soreceive() with shared netlock for raw sockets.Vitaliy Makkoveev
2022-09-03Move PRU_PEERADDR request to (*pru_peeraddr)().Vitaliy Makkoveev
2022-09-03Move PRU_SOCKADDR request to (*pru_sockaddr)()Vitaliy Makkoveev
2022-09-02Move PRU_CONTROL request to (*pru_control)().Vitaliy Makkoveev
2022-09-01Move PRU_CONNECT2 request to (*pru_connect2)().Vitaliy Makkoveev
2022-08-31Move PRU_SENDOOB request to (*pru_sendoob)().Vitaliy Makkoveev
2022-08-29Move PRU_RCVOOB request to (*pru_rcvoob)().Vitaliy Makkoveev
2022-08-28Move PRU_SENSE request to (*pru_sense)().Vitaliy Makkoveev
2022-08-28Move PRU_ABORT request to (*pru_abort)().Vitaliy Makkoveev
2022-08-27Move PRU_SEND request to (*pru_send)().Vitaliy Makkoveev
2022-08-26Move PRU_RCVD request to (*pru_rcvd)().Vitaliy Makkoveev
2022-08-22Move PRU_SHUTDOWN request to (*pru_shutdown)().Vitaliy Makkoveev
2022-08-22Move PRU_DISCONNECT request to (*pru_disconnect).Vitaliy Makkoveev
2022-08-22Use rwlock per inpcb table to protect notify list. The notifyAlexander Bluhm
2022-08-22Move PRU_ACCEPT request to (*pru_accept)().Vitaliy Makkoveev
2022-08-21Move PRU_CONNECT request to (*pru_connect)() handler.Vitaliy Makkoveev
2022-08-21Move PRU_LISTEN request to (*pru_listen)() handler.Vitaliy Makkoveev
2022-08-20Move PRU_BIND request to (*pru_bind)() handler.Vitaliy Makkoveev
2022-08-15Introduce 'pr_usrreqs' structure and move existing user-protocolVitaliy Makkoveev
2022-08-06Clean up the netlock macros. Merge NET_RLOCK_IN_SOFTNET andAlexander Bluhm
2022-05-15have in_pcbselsrc copy the selected address to memory provided by the caller.David Gwynne
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-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-14Unbreak the tree, revert commitid aZ8fm4iaUnTCc0ulTheo Buehler
2022-03-14pf_socket_lookup() calls in_pcbhashlookup() in the PCB layer. ToAlexander 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
2019-02-04Avoid an mbuf double free in the oob soreceive() path. In theAlexander Bluhm
2019-01-08Botched up an if conditional in the last commit. The IP length needs toClaudio Jeker
2019-01-07Validate the version, and all length fields of IP packets passed to a raw socketClaudio Jeker
2018-12-03In PRU_DISCONNECT don't fall through into PRU_ABORT since the latter freesClaudio Jeker
2018-11-10Do not translate the EACCES error from pf(4) to EHOSTUNREACH anymore.Alexander Bluhm
2018-10-04Revert the inpcb table mutex commit. It triggers a witness panicAlexander Bluhm
2018-09-20As a step towards per inpcb or socket locks, remove the net lockAlexander Bluhm
2018-09-13Add reference counting for inet pcb, this will be needed when weAlexander Bluhm
2018-07-05It was possible to leak the control mbuf in raw ip user requestAlexander Bluhm
2018-07-04Prevent a mbuf double free by not freeing it along the error-path inanton
2018-04-24Push NET_LOCK down in the default ifioctl case.Paul Irofti
2017-12-04Make divert lookup similar for all socket types. If PF_TAG_DIVERTEDAlexander Bluhm
2017-11-28The divert structure was using the port number to indicate thatAlexander Bluhm
2017-11-20Sprinkle some NET_ASSERT_LOCKED(), const and co to prepare runningMartin Pieuchot
2017-11-02Move PRU_DETACH out of pr_usrreq into per proto pr_detachFlorian Obser
2017-10-06Kill the divert-packet socket option IP_DIVERTFL to filter packets.Alexander Bluhm
2017-09-05Replace NET_ASSERT_LOCKED() by soassertlocked() in *_usrreq().Martin Pieuchot