summaryrefslogtreecommitdiff
path: root/sys/netinet/raw_ip.c
AgeCommit message (Expand)Author
2024-11-08Use PCB iterator for raw IPv6 input loop.Alexander Bluhm
2024-11-05Use PCB iterator for raw IP input deliver loop.Alexander Bluhm
2024-07-12Remove internet PCB mutex.Alexander Bluhm
2024-04-17Use struct ipsec_level within inpcb.Alexander Bluhm
2024-04-12Fix race between rip_input() and soisdisconnected().Alexander Bluhm
2024-03-05Validate IPv4 packet options in divert output.Alexander Bluhm
2024-02-11Use `sb_mtx' instead of `inp_mtx' in receive path for inet sockets.Vitaliy Makkoveev
2024-02-03Rework socket buffers locking for shared netlock.Vitaliy Makkoveev
2024-01-21Assert that inpcb table has correct address family.Alexander Bluhm
2023-12-15Use inpcb table mutex to set addresses.Alexander Bluhm
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