kobject icon indicating copy to clipboard operation
kobject copied to clipboard

feat(conn): expose socket option and read buffer size options

Open anpep opened this issue 1 year ago • 1 comments

Similar in spirit to #5, except it also exposes the SetOption() method for the ability to set the netlink.NoENOBUFS option on the netlink socket, in which case the socket won't be closed when no buffer space is available. In this case, missed uevents can be detected by observing a gap in the sequence numbers (SEQNUM) of uevents.

anpep avatar Jan 23 '25 14:01 anpep

Hi @mdlayher or @SuperQ! Could you let us know if it will be possible to get these features merged ? We are trying to make our uevent handler a little more robust against dropped packets.

flotter avatar Jan 24 '25 11:01 flotter