Searched refs:if_data (Results 1 - 7 of 7) sorted by relevance
/darwin-on-arm/xnu/bsd/net/ |
H A D | if_var.h | 158 struct if_data { struct 333 * Internal storage of if_data. This is bound to change. Various places in the 335 * if_data structure above. Note that during interface attach time, the 336 * embedded if_data structure in ifnet is cleared, with the exception of 396 #define if_mtu if_data.ifi_mtu 397 #define if_type if_data.ifi_type 398 #define if_typelen if_data.ifi_typelen 399 #define if_physical if_data.ifi_physical 400 #define if_addrlen if_data.ifi_addrlen 401 #define if_hdrlen if_data 536 struct if_data_internal if_data __attribute__((aligned(8))); member in struct:ifnet [all...] |
H A D | kpi_interface.c | 926 return ((interface == NULL) ? 0 : interface->if_data.ifi_type); 935 interface->if_data.ifi_addrlen = addrlen; 942 return ((interface == NULL) ? 0 : interface->if_data.ifi_addrlen); 951 interface->if_data.ifi_hdrlen = hdrlen; 958 return ((interface == NULL) ? 0 : interface->if_data.ifi_hdrlen); 967 interface->if_data.ifi_metric = metric; 974 return ((interface == NULL) ? 0 : interface->if_data.ifi_metric); 1124 atomic_add_64(&ifp->if_data.ifi_ipackets, s->packets_in); 1126 atomic_add_64(&ifp->if_data.ifi_ibytes, s->bytes_in); 1128 atomic_add_64(&ifp->if_data [all...] |
H A D | if_mib.c | 134 if_data_internal_to_if_data64(ifp, &ifp->if_data, &ifmd.ifmd_data); 149 #define DONTCOPY(fld) ifmd.ifmd_data.ifi_##fld = ifp->if_data.ifi_##fld
|
H A D | dlil.c | 132 _CASSERT(!(offsetof(struct ifnet, if_data.f) % sizeof (u_int64_t))) 2764 atomic_add_64(&ifp->if_data.ifi_ipackets, s->packets_in); 2768 atomic_add_64(&ifp->if_data.ifi_ibytes, s->bytes_in); 2772 atomic_add_64(&ifp->if_data.ifi_ierrors, s->errors_in); 2777 atomic_add_64(&ifp->if_data.ifi_opackets, s->packets_out); 2781 atomic_add_64(&ifp->if_data.ifi_obytes, s->bytes_out); 2785 atomic_add_64(&ifp->if_data.ifi_oerrors, s->errors_out); 2790 atomic_add_64(&ifp->if_data.ifi_collisions, s->collisions); 2794 atomic_add_64(&ifp->if_data.ifi_iqdrops, s->dropped); 4393 if_data_saved = ifp->if_data; [all...] |
H A D | if.c | 3341 const struct if_data_internal *if_data_int, struct if_data *if_data) 3344 #define COPYFIELD(fld) if_data->fld = if_data_int->fld 3345 #define COPYFIELD32(fld) if_data->fld = (u_int32_t)(if_data_int->fld) 3348 atomic_get_64(if_data->fld, \ 3359 if_data->ifi_unused1 = 0; 3363 if_data->ifi_baudrate = 0xFFFFFFFF; 3383 if_data->ifi_lastchange.tv_sec = if_data_int->ifi_lastchange.tv_sec; 3384 if_data->ifi_lastchange.tv_usec = if_data_int->ifi_lastchange.tv_usec; 3387 if_data 3340 if_data_internal_to_if_data(struct ifnet *ifp, const struct if_data_internal *if_data_int, struct if_data *if_data) argument [all...] |
H A D | if.h | 220 * struct if_data.ifi_hwassist in IFNET_* form, defined in net/kpi_interface.h, 257 struct if_data ifm_data; /* statistics and other data about if */
|
H A D | rtsock.c | 1245 if_data_internal_to_if_data(ifp, &ifp->if_data, &ifm->ifm_data); 1560 if_data_internal_to_if_data(ifp, &ifp->if_data, 1695 if_data_internal_to_if_data64(ifp, &ifp->if_data,
|
Completed in 107 milliseconds