Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetNetlinkSocketAt (0.25 sec)

  1. pkg/proxy/util/nfacct/handler.go

    // newNetlinkHandler initializes a netlink socket in the current network namespace and returns
    // an instance of netlinkHandler with the initialized socket.
    func newNetlinkHandler() (handler, error) {
    	socket, err := nl.GetNetlinkSocketAt(netns.None(), netns.None(), unix.NETLINK_NETFILTER)
    	if err != nil {
    		return nil, err
    	}
    	return &netlinkHandler{socket: socket}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top