Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nlmAlignOf (0.11 sec)

  1. src/syscall/netlink_linux.go

    // license that can be found in the LICENSE file.
    
    // Netlink sockets and messages
    
    package syscall
    
    import (
    	"sync"
    	"unsafe"
    )
    
    // Round the length of a netlink message up to align it properly.
    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 {
    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