summaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_socket.c
AgeCommit message (Expand)Author
2024-04-09ng_socket: Treat EEXIST from kern_kldload() as successZhenlei Huang
2023-11-30sockets: don't malloc/free sockaddr memory on getpeername/getsocknameGleb Smirnoff
2023-11-27ng_socket: with getsockname() return node ID for unnamed nodeGleb Smirnoff
2023-08-16sys: Remove $FreeBSD$: two-line .h patternWarner Losh
2022-08-17protosw: refactor protosw and domain static declaration and loadGleb Smirnoff
2022-05-09ng_socket: don't assign NULL in C99 sparse initializerGleb Smirnoff
2022-01-03domains: make domain_init() initialize only global stateGleb Smirnoff
2021-07-28socket: Implement SO_RERRORRoy Marples
2021-05-03Add missing sockaddr length and family validation to various protocolsMark Johnston
2021-02-08Revert "SO_RERROR indicates that receive buffer overflows should be handled a...Alexander V. Chernikov
2021-02-08SO_RERROR indicates that receive buffer overflows should be handled as errors.Alexander V. Chernikov
2020-12-17[ng_socket] Don't take the SOCKBUF_LOCK() twice in the RX data path.Aleksandr Fedorov
2020-09-01net: clean up empty lines in .c and .h filesMateusz Guzik
2020-02-26Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)Pawel Biernacki
2020-02-21Rework second part of r357558. Unroll the macro and allocate memory inGleb Smirnoff
2020-02-21Revert one half of previous change r357558. Don't enter the epoch onGleb Smirnoff
2020-02-05Enter the network epoch when ng_socket sends data or control from userGleb Smirnoff
2016-04-21sys: use our nitems() macro when param.h is available.Pedro F. Giffuni
2016-04-15sys/net* : for pointers replace 0 with NULL.Pedro F. Giffuni
2014-10-21Fix multiple incorrect SYSCTL arguments in the kernel:Hans Petter Selasky
2014-05-22Use NG_WAITOK as ng_package_msg() argument instead of M_WAITOK.Alexander Motin
2012-02-16In ng_getsockaddr() allocate memory prior to obtaining lock.Gleb Smirnoff
2012-02-13No need to optimise for a node with no hooks, my braino.Gleb Smirnoff
2012-01-23Provide a findhook method for ng_socket(4). The node stores aGleb Smirnoff
2012-01-23In ng_socket(4) expose less kernel internals to userland. This commitGleb Smirnoff
2012-01-16Remove some disabled NOTYET code. Probability of enabling it is low,Gleb Smirnoff
2011-11-07Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.Ed Schouten
2011-11-07Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.Ed Schouten
2011-08-11Second-to-last commit implementing Capsicum capabilities in the FreeBSDRobert Watson
2011-07-14In ng_attach_cntl() first allocate things that may fail, and thenGleb Smirnoff
2011-01-12sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.Matthew D Fleming
2010-10-13When calling panic(), always pass a format string.Rui Paulo
2010-05-19Fix a race between ngs_rcvmsg() and soclose() which closes the controlAttilio Rao
2010-03-12Now fix functionality of 'netstat -f netgraph' that hasn't workedGleb Smirnoff
2010-03-12Fix 'netstat -f netgraph', which I had broken in r163463 ling timeGleb Smirnoff
2009-07-23Introduce and use a sysinit-based initialization scheme for virtualRobert Watson
2008-11-22Remove unused variable.Alexander Motin
2008-03-11Improve apply callback error reporting:Alexander Motin
2007-12-30Remove explicit locking of struct file.Jeff Roberson
2007-10-19Implement new apply callback mechanism to handle item forwarding.Alexander Motin
2007-05-11Reduce network stack oddness: implement .pru_sockaddr and .pru_peeraddrRobert Watson
2006-11-06Sweep kernel replacing suser(9) calls with priv(9) calls, assigningRobert Watson
2006-10-18Check pointer before dereferencing.Gleb Smirnoff
2006-10-17Some clenaup of ngs_rcvmsg():Gleb Smirnoff
2006-10-17Some cleanup and small changes:Gleb Smirnoff
2006-07-21Change semantics of socket close and detach. Add a new protocol switchRobert Watson
2006-06-13Use kern_kldload() and kern_kldunload() to load and unload modules whenJohn Baldwin
2006-05-16Remove unneeded check.Gleb Smirnoff
2006-05-16Do not leak kernel memory in case if userland has been compiledGleb Smirnoff
2006-04-06Correct assertion in ng_detach().Robert Watson