Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rtaAlignOf (0.08 sec)

  1. src/syscall/netlink_linux.go

    func nlmAlignOf(msglen int) int {
    	return (msglen + NLMSG_ALIGNTO - 1) & ^(NLMSG_ALIGNTO - 1)
    }
    
    // Round the length of a netlink route attribute up to align it
    // properly.
    func rtaAlignOf(attrlen int) int {
    	return (attrlen + RTA_ALIGNTO - 1) & ^(RTA_ALIGNTO - 1)
    }
    
    // NetlinkRouteRequest represents a request message to receive routing
    // and link states from the kernel.
    type NetlinkRouteRequest struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top