/src/usr.bin/rump_dhcpclient/ |
configure.h | 33 int send_interface(int, const struct interface *); 34 int run_script(const struct interface *); 36 int configure(struct interface *);
|
net.h | 85 const struct interface *iface; 96 struct interface *init_interface(const char *); 97 struct interface *discover_interfaces(int, char * const *); 98 void free_interface(struct interface *); 106 int up_interface(struct interface *); 107 int if_conf(struct interface *); 108 int if_init(struct interface *); 112 int if_address(const struct interface *, 124 int if_route(const struct interface *, const struct in_addr *, 136 int open_udp_socket(struct interface *); [all...] |
dhcpcd.h | 83 struct interface { struct 111 struct interface *next; 120 extern struct interface *ifaces;
|
/src/usr.sbin/mopd/moptrace/ |
moptrace.c | 36 * moptrace [ -d ] [ -3 | -4 ] interface 69 char *interface; local in function:main 93 interface = argv[optind++]; 95 if ((AllFlag && interface) || 96 (!AllFlag && interface == 0) || 103 deviceInitOne(interface); 115 (void) fprintf(stderr, " %s [ -d ] [ -3 | -4 ] interface\n",
|
/src/usr.sbin/mopd/common/ |
device.c | 39 struct if_info *iflist; /* Interface List */ 44 * Return ethernet address for interface 83 mopLogErrX("deviceEthAddr: Never saw interface `%s'!", ifname); 141 char interface[IFNAME_SIZE]; local in function:deviceInitOne 163 snprintf(interface, sizeof(interface), "ent%d\0", unit); 165 snprintf(interface, sizeof(interface), "%s%d\0", dev, unit); 168 snprintf(interface, sizeof(interface), "%s", ifname) [all...] |
pf-linux2.c | 4 * General Purpose AppleTalk Packet Filter Interface 89 pfInit(char *interface, int mode, u_short protocol, int typ) 101 perror(interface); 119 * set options, bind to underlying interface 123 strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name)); 125 /* record socket interface name and length */ 126 strncpy(socklist[s].sa.sa_data, interface, sizeof(socklist[s].sa.sa_data)); 127 socklist[s].iflen = strlen(interface); 146 * get the interface ethernet address 151 pfEthAddr(int s, char *interface, u_char *addr [all...] |
/src/usr.sbin/altq/altqstat/ |
altqstat.c | 53 char *interface = NULL; variable in typeref:typename:char * 87 fprintf(stderr, "usage: altqstat [-enrs] [-c count] [-w wait] [-i interface|-I input_interface]\n"); 104 interface = input; 115 interface = optarg; 142 if (quip_openserver() < 0 && interface == NULL) 143 errx(1, "you have to specify interface!"); 160 interface = quip_selectinterface(interface); 161 if (interface == NULL) 162 errx(1, "no interface found!") [all...] |
/src/sys/net/ |
if_stats.h | 38 * Interface statistics. All values are unsigned 64-bit. 41 if_ipackets = 0, /* packets received on interface */ 42 if_ierrors = 1, /* input errors on interface */ 43 if_opackets = 2, /* packets sent on interface */ 44 if_oerrors = 3, /* output errors on interface */ 50 if_iqdrops = 9, /* dropped on input, this interface */ 60 SDT_PROBE_DECLARE(sdt, net, interface, stat); 68 SDT_PROBE3(sdt, net, interface, stat, ifp, x, +1); 75 SDT_PROBE3(sdt, net, interface, stat, ifp, x, +1); 82 SDT_PROBE3(sdt, net, interface, stat, ifp, x, -1) [all...] |
/src/distrib/utils/embedded/ |
usermode | 48 *) interface=$(ifconfig -l | awk '{print $1}') 51 sudo brconfig bridge0 add tap0 add ${interface} up
|
/src/sys/rump/net/lib/libipsec/ |
Makefile | 7 COMMENT= ipsec interface
|
/src/sys/rump/net/lib/libshmif/ |
Makefile | 5 COMMENT=Shared memory bus network interface
|
/src/sys/rump/net/lib/libtap/ |
Makefile | 7 COMMENT=/dev/tap Ethernet tunnel software network interface
|
/src/sys/rump/net/lib/libvether/ |
Makefile | 7 COMMENT=virtual Ethernet interface
|
/src/sys/rump/net/lib/libvirtif/ |
Makefile | 5 COMMENT=Network interface which uses hypercalls for I/O
|
/src/share/examples/hostapd/ |
hostapd.conf | 7 # Interface name. Should be set in ``hostap'' mode. 8 interface=if0 key 21 # bit 4 (16) = driver interface 42 # Interface for separate control program. If this is specified, hostapd 45 # configuration. The socket file will be named based on the interface name, so 47 # than one interface is used. 52 # Access control for the control interface can be configured by setting the 56 # run as non-root users. However, since the control interface can be used to 59 # want to allow non-root users to use the control interface, add a new group 61 # control interface access to this group [all...] |
/src/sbin/routed/ |
defs.h | 117 * within 0.0.0.0/8 as interface index. 138 #define CHECK_BAD_INTERVAL 5 /* when an interface is known bad */ 194 # define RS_IF 0x001 /* for network interface */ 206 struct interface *rts_ifp; 233 * not unbroken interface routes 266 /* An "interface" is similar to a kernel ifnet structure, except it also 269 struct interface { struct 270 struct interface *int_next, **int_prev; 271 struct interface *int_ahash, **int_ahash_prev; 272 struct interface *int_bhash, **int_bhash_prev [all...] |
/src/sys/external/bsd/drm2/dist/drm/xen/ |
xen_drm_front_evtchnl.h | 19 #include <xen/interface/io/ring.h> 20 #include <xen/interface/io/displif.h>
|
/src/usr.sbin/altq/altqd/altq.conf.samples/ |
hfsc.grate | 6 # interface bandwidth 45Mbps is arbitrary (it doesn't matter as long as 9 interface pvc0 bandwidth 45M hfsc
|
hfsc.lo0 | 6 # interface bandwidth 300Mbps is arbitrary (it doesn't matter as long as 9 interface lo0 bandwidth 300M hfsc
|
hfsc.pvc0 | 6 interface pvc0 bandwidth 45M hfsc
|
/src/sys/rump/dev/lib/libvirtio_if_vioif/ |
Makefile | 9 COMMENT=VirtIO network interface driver
|
/src/sys/rump/net/lib/libgif/ |
Makefile | 8 COMMENT= generic tunnel interface
|
/src/sys/rump/net/lib/libl2tp/ |
Makefile | 8 COMMENT= L2TPv3 interface
|
/src/sys/rump/net/lib/libpppoe/ |
Makefile | 5 COMPONENT= PPP over Ethernet protocol network interface
|
/src/usr.sbin/ndbootd/config/ |
ndbootd-bpf.c | 62 /* the size of the packet buffer for the interface: */ 65 /* the packet buffer for the interface: */ 105 ndbootd_raw_open(struct ndbootd_interface * interface) 166 /* point the BPF device at the interface we're using: */ 167 if (ioctl(network_fd, BIOCSETIF, interface->ndbootd_interface_ifreq) < 0) { 169 interface->ndbootd_interface_ifreq->ifr_name, strerror(errno))); 194 /* allocate our private interface information and we're done: */ 195 interface->ndbootd_interface_fd = network_fd; 199 interface->_ndbootd_interface_raw_private = interface_bpf; 206 ndbootd_raw_read(struct ndbootd_interface * interface, void *packet_buffer, size_t packet_buffer_size [all...] |