if.h
imports <sys/socket.h>8-bit type field declaration
SHA-256d91ad2008dd7050846a4fcfd38f98f236fffbc3bd79f58daf98eba649f968e22
MaleculeH(Db₂)Md(In)
Evidence
⋯4 lines
36#define _NET_IF_H_
37
38#include <sys/cdefs.h>
39
40/*
41 * Length of interface external name, including terminating '\0'.
42 * Note: this is the same …
57__END_DECLS
58#endif
59
60#if __BSD_VISIBLE
61
62#include <sys/types.h>
63#include <sys/time.h>
64#include <sys/socket.h>
65
66/*
⋯4 lines
⋯4 lines
84
85struct if_rxring_info {
86 char ifr_name[16]; /* name of the ring */
87 u_int ifr_size; /* size of the packets on the ring */
88 struct if_rxring ifr_info;
89};
90
91/* Structur …
336:40… c_flags */
337 uint32_t ifie_xflags; /* ieee80211com.ic xflags */
338 uint8_t ifie_nwid[32]; /* IEEE80211_NWID_LEN */
339 uint8_t ifie_addr[6]; /* IEEE80211_ADDR_LEN */
340};
341
342struct if_ieee80211_msghdr {
343 uint16_t ifim_msglen;
344 uint8_t ifim_version;
345 uint8_t ifim_type;
346 uint16_t ifim_hdrlen;
347 uint16_t ifim_index;
⋯6 lines
523:16… data[IFSFF_DATA_LEN]; /* k -> u */
524};
525
526#include <net/if_arp.h>
527
528#ifdef _KERNEL
⋯5 lines