/freebsd-9.3-release/etc/rc.d/ |
H A D | wpa_supplicant | 16 ifn="$2" 17 if [ -z "$ifn" ]; then 29 if is_wired_interface ${ifn} ; then 31 elif is_ndis_interface ${ifn} ; then 41 pidfile="/var/run/${name}/${ifn}.pid" 42 command_args="-B -i $ifn -c $conf_file -D $driver -P $pidfile"
|
H A D | dhclient | 12 ifn="$2" 16 pidfile="/var/run/${name}.${ifn}.pid" 24 if [ -z "${rc_force}" ] && ! dhcpif $ifn; then 26 msg="'$ifn' is not a DHCP-enabled interface" 41 specific=$(get_if_var $ifn dhclient_flags_IF) 46 background_dhclient=$(get_if_var $ifn background_dhclient_IF $background_dhclient) 51 rc_flags="${rc_flags} ${ifn}" 57 if [ -z $ifn ] ; then
|
H A D | hostapd | 15 ifn="$2" 16 if [ -z "$ifn" ]; then 22 conf_file="/etc/${name}-${ifn}.conf" 23 pidfile="/var/run/${name}-${ifn}.pid"
|
H A D | sppp | 24 for ifn in ${sppp_interfaces}; do 25 eval spppcontrol_args=\$spppconfig_${ifn} 30 eval spppcontrol ${ifn} ${spppcontrol_args}
|
H A D | natd | 23 for ifn in ${dhcp_list}; do 25 ${ifn})
|
H A D | netif | 144 for ifn in ${_cooked_list}; do 145 if ${_func} ${ifn} $2; then 146 _ok="${_ok} ${ifn}" 147 if ipv6if ${ifn}; then 151 _fail="${_fail} ${ifn}" 175 for ifn in ${_ok}; do 176 /sbin/ifconfig ${ifn}
|
/freebsd-9.3-release/etc/ |
H A D | pccard_ether | 34 eval ifx_routes=\$static_routes_${ifn} 51 eval ifx_routes=\$static_routes_${ifn} 64 autoif $ifn || exit 0 70 ifexists $ifn || exit 1 74 if [ "${uif}" = "${ifn}" ]; then 81 /etc/rc.d/netif quietstart $ifn 85 if [ -n "`ifconfig_getargs $ifn`" ]; then 86 if ! dhcpif $ifn; then 96 if [ -n "`ifconfig_getargs $ifn`" ]; then 97 if ! dhcpif $ifn; the [all...] |
H A D | network.subr | 37 # ifn_start ifn 43 local ifn cfg 44 ifn="$1" 47 [ -z "$ifn" ] && err 1 "ifn_start called without an interface" 49 ifscript_up ${ifn} && cfg=0 50 ifconfig_up ${ifn} && cfg=0 51 afexists inet && ipv4_up ${ifn} && cfg=0 52 afexists inet6 && ipv6_up ${ifn} && cfg=0 53 afexists ipx && ipx_up ${ifn} && cfg=0 54 childif_create ${ifn} [all...] |
/freebsd-9.3-release/release/picobsd/mfs_tree/etc/ |
H A D | rc.network | 12 for ifn in ${network_interfaces}; do 13 [ -e /etc/start_if.${ifn} ] && . /etc/start_if.${ifn} 15 eval ifconfig_args=\$ifconfig_${ifn} 16 [ -n "${ifconfig_args}" ] && ifconfig ${ifn} ${ifconfig_args} 21 eval ifconfig_args=\$ifconfig_${ifn}_alias${alias} 23 ifconfig ${ifn} ${ifconfig_args} alias 29 ifconfig ${ifn}
|
/freebsd-9.3-release/contrib/ipfilter/lib/ |
H A D | ipft_hx.c | 59 static int hex_readip(buf, cnt, ifn, dir) 60 char *buf, **ifn; 71 if (ifn) 72 *ifn = NULL; 96 if (ifn) 97 *ifn = strdup(u); 104 } else if (ifn) 105 *ifn = t;
|
H A D | ipft_tx.c | 126 static int text_readip(buf, cnt, ifn, dir) 127 char *buf, **ifn; 134 *ifn = NULL; 146 *ifn = NULL; 148 if (!parseline(line, (ip_t *)buf, ifn, dir)) { 158 static int parseline(line, ip, ifn, out) 161 char **ifn; 169 if (*ifn) 170 free(*ifn); 198 *ifn [all...] |
H A D | ipft_ef.c | 72 static int etherf_readip(buf, cnt, ifn, dir) 73 char *buf, **ifn;
|
H A D | ipft_sn.c | 156 static int snoop_readip(buf, cnt, ifn, dir) 157 char *buf, **ifn;
|
H A D | ipft_td.c | 95 static int tcpd_readip(buf, cnt, ifn, dir) 96 char *buf, **ifn;
|
H A D | ipft_pc.c | 230 static int pcap_readip(buf, cnt, ifn, dir) 231 char *buf, **ifn;
|
/freebsd-9.3-release/sys/netinet/ |
H A D | sctp_bsd_addr.c | 66 MALLOC_DEFINE(SCTP_M_IFN, "sctp_ifn", "sctp ifn struct"); 148 sctp_is_desired_interface_type(struct ifnet *ifn) argument 153 switch (ifn->if_type) { 200 struct ifnet *ifn; local 211 TAILQ_FOREACH(ifn, &MODULE_GLOBAL(ifnet), if_list) { 212 if (sctp_is_desired_interface_type(ifn) == 0) { 216 IF_ADDR_RLOCK(ifn); 217 TAILQ_FOREACH(ifa, &ifn->if_addrlist, ifa_list) { 257 (void *)ifn, 258 ifn 357 struct ifnet *ifn; local [all...] |
H A D | sctp_os_bsd.h | 220 #define SCTP_IFN_IS_IFT_LOOP(ifn) ((ifn)->ifn_type == IFT_LOOP) 330 #define SCTP_GATHER_MTU_FROM_IFN_INFO(ifn, ifn_index, af) ((struct ifnet *)ifn)->if_mtu
|
/freebsd-9.3-release/contrib/libpcap/ |
H A D | fad-glifc.c | 88 struct lifnum ifn; local 124 ifn.lifn_family = AF_UNSPEC; 125 ifn.lifn_flags = 0; 126 ifn.lifn_count = 0; 127 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) { 138 buf_size = ifn.lifn_count * sizeof (struct lifreq);
|
/freebsd-9.3-release/sys/contrib/pf/net/ |
H A D | if_pflog.c | 331 struct ifnet *ifn; local 337 if ((ifn = pflogifs[rm->logif]) == NULL || !ifn->if_bpf) 388 ifn->if_opackets++; 389 ifn->if_obytes += m->m_pkthdr.len; 391 BPF_MTAP2(ifn, &hdr, PFLOG_HDRLEN, m); 393 bpf_mtap_hdr(ifn->if_bpf, (char *)&hdr, PFLOG_HDRLEN, m,
|
/freebsd-9.3-release/usr.bin/uniq/ |
H A D | uniq.c | 79 const char *ifn; local 127 ifn = "stdin"; 130 ifp = file(ifn = argv[0], "r"); 139 err(1, "%s", ifn); 181 err(1, "%s", ifn);
|
/freebsd-9.3-release/contrib/cvs/src/ |
H A D | filesubr.c | 822 char *ifn; 824 ifn = xmalloc (strlen (Tmpdir) + 11); 825 sprintf (ifn, "%s/%s", Tmpdir, "cvsXXXXXX" ); 826 fn = mktemp (ifn); 831 if (fp == NULL) free (ifn); 841 char ifn[L_tmpnam + 1]; 843 fn = tmpnam (ifn); 846 else if ((fp = CVS_FOPEN (ifn, "w+")) != NULL) 848 fn = xstrdup (ifn); 821 char *ifn; local 840 char ifn[L_tmpnam + 1]; local
|
/freebsd-9.3-release/sbin/ifconfig/ |
H A D | ifbridge.c | 618 setbridge_ifpriority(const char *ifn, const char *pri, int s, argument 629 strlcpy(req.ifbr_ifsname, ifn, sizeof(req.ifbr_ifsname)); 637 setbridge_ifpathcost(const char *ifn, const char *cost, int s, argument 648 strlcpy(req.ifbr_ifsname, ifn, sizeof(req.ifbr_ifsname)); 656 setbridge_ifmaxaddr(const char *ifn, const char *arg, int s, argument 667 strlcpy(req.ifbr_ifsname, ifn, sizeof(req.ifbr_ifsname));
|
/freebsd-9.3-release/sbin/ipfw/ |
H A D | nat.c | 68 * Search for interface with name "ifn", and fill n accordingly: 70 * n->ip ip address of interface "ifn" 71 * n->if_name copy of interface name "ifn" 74 set_addr_dynamic(const char *ifn, struct cfg_nat *n) argument 119 if (strlen(ifn) == sdl->sdl_nlen && 120 strncmp(ifn, sdl->sdl_data, sdl->sdl_nlen) == 0) { 128 errx(1, "unknown interface name %s", ifn); 159 errx(1, "%s: cannot get interface address", ifn); 162 strncpy(n->if_name, ifn, IF_NAMESIZE);
|
/freebsd-9.3-release/usr.sbin/pmcstat/ |
H A D | pmcpl_calltree.c | 664 pmcstat_interned_string ifl, ifn; local 668 ifn = pmcstat_string_intern(fn); 671 ifn = 0; 688 ct->pct_ifl == ifl && ct->pct_ifn == ifn) 704 ct->pct_ifn = ifn;
|
/freebsd-9.3-release/usr.sbin/sysinstall/ |
H A D | tcpip.c | 576 char temp[512], ifn[255]; local 606 sprintf(ifn, "%s%s", VAR_IFCONFIG, devp->name); 615 variable_set2(ifn, temp, 1);
|