MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ifr_data_get_ptr

Function ifr_data_get_ptr

freebsd/net/if.c:2444–2456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2442}
2443
2444void *
2445ifr_data_get_ptr(void *ifrp)
2446{
2447 union ifreq_union *ifrup;
2448
2449 ifrup = ifrp;
2450#ifdef COMPAT_FREEBSD32
2451 if (SV_CURPROC_FLAG(SV_ILP32))
2452 return ((void *)(uintptr_t)
2453 ifrup->ifr32.ifr_ifru.ifru_data);
2454#endif
2455 return (ifrup->ifr.ifr_ifru.ifru_data);
2456}
2457
2458/*
2459 * Hardware specific interface ioctls.

Callers 13

pfsyncioctlFunction · 0.85
mac_ifnet_ioctl_getFunction · 0.85
mac_ifnet_ioctl_setFunction · 0.85
ieee80211_ioctlFunction · 0.85
carp_ioctlFunction · 0.85
iflib_if_ioctlFunction · 0.85
sppp_paramsFunction · 0.85
ifhwioctlFunction · 0.85
ifioctlFunction · 0.85
gre_ioctlFunction · 0.85
gif_ioctlFunction · 0.85
ipsec_ioctlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected