OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ifam
(Results
1 - 12
of
12
) sorted by null
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/route/
sys_dragonfly.go
51
ifam
:= &wireFormat{extOff: sizeofIfaMsghdrDragonFlyBSD4, bodyOff: sizeofIfaMsghdrDragonFlyBSD4}
64
sysRTM_NEWADDR:
ifam
.parseInterfaceAddrMessage,
65
sysRTM_DELADDR:
ifam
.parseInterfaceAddrMessage,
sys_netbsd.go
48
ifam
:= &wireFormat{extOff: sizeofIfaMsghdrNetBSD7, bodyOff: sizeofIfaMsghdrNetBSD7}
62
sysRTM_NEWADDR:
ifam
.parseInterfaceAddrMessage,
63
sysRTM_DELADDR:
ifam
.parseInterfaceAddrMessage,
sys_freebsd.go
86
var rtm, ifm,
ifam
, ifmam, ifanm *wireFormat
90
ifam
= &wireFormat{extOff: sizeofIfaMsghdrFreeBSD10Emu, bodyOff: sizeofIfaMsghdrFreeBSD10Emu}
96
ifam
= &wireFormat{extOff: sizeofIfaMsghdrFreeBSD10, bodyOff: sizeofIfaMsghdrFreeBSD10}
143
sysRTM_NEWADDR:
ifam
.parseInterfaceAddrMessage,
144
sysRTM_DELADDR:
ifam
.parseInterfaceAddrMessage,
sys_darwin.go
57
ifam
:= &wireFormat{extOff: sizeofIfaMsghdrDarwin15, bodyOff: sizeofIfaMsghdrDarwin15}
71
sysRTM_NEWADDR:
ifam
.parseInterfaceAddrMessage,
72
sysRTM_DELADDR:
ifam
.parseInterfaceAddrMessage,
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/route/
sys_dragonfly.go
51
ifam
:= &wireFormat{extOff: sizeofIfaMsghdrDragonFlyBSD4, bodyOff: sizeofIfaMsghdrDragonFlyBSD4}
64
sysRTM_NEWADDR:
ifam
.parseInterfaceAddrMessage,
65
sysRTM_DELADDR:
ifam
.parseInterfaceAddrMessage,
sys_netbsd.go
48
ifam
:= &wireFormat{extOff: sizeofIfaMsghdrNetBSD7, bodyOff: sizeofIfaMsghdrNetBSD7}
62
sysRTM_NEWADDR:
ifam
.parseInterfaceAddrMessage,
63
sysRTM_DELADDR:
ifam
.parseInterfaceAddrMessage,
sys_freebsd.go
86
var rtm, ifm,
ifam
, ifmam, ifanm *wireFormat
90
ifam
= &wireFormat{extOff: sizeofIfaMsghdrFreeBSD10Emu, bodyOff: sizeofIfaMsghdrFreeBSD10Emu}
96
ifam
= &wireFormat{extOff: sizeofIfaMsghdrFreeBSD10, bodyOff: sizeofIfaMsghdrFreeBSD10}
143
sysRTM_NEWADDR:
ifam
.parseInterfaceAddrMessage,
144
sysRTM_DELADDR:
ifam
.parseInterfaceAddrMessage,
sys_darwin.go
57
ifam
:= &wireFormat{extOff: sizeofIfaMsghdrDarwin15, bodyOff: sizeofIfaMsghdrDarwin15}
71
sysRTM_NEWADDR:
ifam
.parseInterfaceAddrMessage,
72
sysRTM_DELADDR:
ifam
.parseInterfaceAddrMessage,
/prebuilts/go/darwin-x86/src/net/
interface_linux.go
152
ifam
:= (*syscall.IfAddrmsg)(unsafe.Pointer(&m.Data[0]))
153
if len(ift) != 0 || ifi.Index == int(
ifam
.Index) {
156
ifi, err = interfaceByIndex(ift, int(
ifam
.Index))
165
ifa := newAddr(ifi,
ifam
, attrs)
175
func newAddr(ifi *Interface,
ifam
*syscall.IfAddrmsg, attrs []syscall.NetlinkRouteAttr) Addr {
190
switch
ifam
.Family {
192
return &IPNet{IP: IPv4(a.Value[0], a.Value[1], a.Value[2], a.Value[3]), Mask: CIDRMask(int(
ifam
.Prefixlen), 8*IPv4len)}
194
ifa := &IPNet{IP: make(IP, IPv6len), Mask: CIDRMask(int(
ifam
.Prefixlen), 8*IPv6len)}
/prebuilts/go/linux-x86/src/net/
interface_linux.go
152
ifam
:= (*syscall.IfAddrmsg)(unsafe.Pointer(&m.Data[0]))
153
if len(ift) != 0 || ifi.Index == int(
ifam
.Index) {
156
ifi, err = interfaceByIndex(ift, int(
ifam
.Index))
165
ifa := newAddr(ifi,
ifam
, attrs)
175
func newAddr(ifi *Interface,
ifam
*syscall.IfAddrmsg, attrs []syscall.NetlinkRouteAttr) Addr {
190
switch
ifam
.Family {
192
return &IPNet{IP: IPv4(a.Value[0], a.Value[1], a.Value[2], a.Value[3]), Mask: CIDRMask(int(
ifam
.Prefixlen), 8*IPv4len)}
194
ifa := &IPNet{IP: make(IP, IPv6len), Mask: CIDRMask(int(
ifam
.Prefixlen), 8*IPv6len)}
/external/iputils/ninfod/
ni_ifaddrs.c
386
struct ifaddrmsg *
ifam
= NULL;
local
407
ifam
= (struct ifaddrmsg *) NLMSG_DATA(nlh);
408
nlm_struct_size = sizeof(*
ifam
);
409
nlm_family =
ifam
->ifa_family;
410
nlm_scope =
ifam
->ifa_scope;
411
nlm_index =
ifam
->ifa_index;
412
nlm_flags =
ifam
->ifa_flags;
/external/dhcpcd-6.8.2/
if-bsd.c
1154
struct ifa_msghdr *
ifam
;
local
1273
ifam
= (struct ifa_msghdr *)(void *)p;
1274
ifp = if_findindex(ctx->ifaces,
ifam
->ifam_index);
1277
cp = (char *)(void *)(
ifam
+ 1);
1278
get_addrs(
ifam
->ifam_addrs, cp, rti_info);
[
all
...]
Completed in 732 milliseconds