/freebsd-10-stable/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 | netif | 176 for ifn in $_cooked_list; do 177 case ${ifn#epair} in 182 $ifn) _tmp_list="$_tmp_list ${ifn}a ${ifn}b" ;; 183 *) _tmp_list="$_tmp_list ${ifn}" ;; 194 for ifn in ${_cooked_list# }; do 195 # Skip if ifn does not exist. 198 if ! ${IFCONFIG_CMD} $ifn > /dev/null 2>&1; then 199 warn "$ifn doe [all...] |
H A D | natd | 23 for ifn in ${dhcp_list}; do 25 ${ifn})
|
/freebsd-10-stable/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...] |
/freebsd-10-stable/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-10-stable/contrib/ipfilter/lib/ |
H A D | ipft_hx.c | 59 static int hex_readip(mb, ifn, dir) 61 char **ifn; 76 if (ifn) 77 *ifn = NULL; 103 if (ifn) 104 *ifn = strdup(u); 111 } else if (ifn) 112 *ifn = t;
|
H A D | ipft_tx.c | 116 static int text_readip(mb, ifn, dir) 118 char **ifn; 130 *ifn = NULL; 142 *ifn = NULL; 144 if (!parseline(line, (ip_t *)buf, ifn, dir)) { 164 static int parseline(line, ip, ifn, out) 167 char **ifn; 175 if (*ifn) 176 free(*ifn); 199 return parseipv6(cpp, (ip6_t *)ip, ifn, ou [all...] |
H A D | ipft_pc.c | 205 static int ipcap_readip(mb, ifn, dir) 207 char **ifn; 219 ifn = ifn; /* gcc -Wextra */
|
/freebsd-10-stable/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 360 struct ifnet *ifn; local [all...] |
H A D | sctp_os_bsd.h | 213 #define SCTP_IFN_IS_IFT_LOOP(ifn) ((ifn)->ifn_type == IFT_LOOP) 323 #define SCTP_GATHER_MTU_FROM_IFN_INFO(ifn, ifn_index, af) ((struct ifnet *)ifn)->if_mtu
|
H A D | sctp_pcb.h | 80 uint32_t ifn_index; /* shorthand way to look at ifn for reference */ 94 * is pulled from the ifn list 105 struct sctp_ifn *ifn_p; /* back pointer to parent ifn */ 498 sctp_find_ifn(void *ifn, uint32_t ifn_index); 508 * If a ifn goes down, we will do src-addr-selection 518 void *ifn, uint32_t ifn_index, uint32_t ifn_type,
|
H A D | sctp_pcb.c | 107 * to a VRF we lookup the ifn/ifn_index, if the ifn does 113 * vrf-> ifn-> ifn -> ifn 127 * that any locking on system level ifn/ifa is done at the 196 sctp_find_ifn(void *ifn, uint32_t ifn_index) argument 210 if (sctp_ifnp->ifn_p && ifn && (sctp_ifnp->ifn_p == ifn)) { 402 * Add an ifa to an ifn 492 sctp_add_addr_to_vrf(uint32_t vrf_id, void *ifn, uint32_t ifn_index, uint32_t ifn_type, const char *if_name, void *ifa, struct sockaddr *addr, uint32_t ifa_flags, int dynamic_add) argument 5915 struct sctp_ifn *ifn, *nifn; local [all...] |
H A D | sctp_output.c | 2464 void *ifn; local 2475 ifn = SCTP_GET_IFN_VOID_FROM_ROUTE(ro); 2477 sctp_ifn = sctp_find_ifn(ifn, ifn_index); 2479 * first question, is the ifn we will emit on in our list, if so, we 2596 void *ifn; local 2604 * first question, is the ifn we will emit on in our list, if so, we 2611 ifn = SCTP_GET_IFN_VOID_FROM_ROUTE(ro); 2613 sctp_ifn = sctp_find_ifn(ifn, ifn_index); 2616 * first question, is the ifn we will emit on in our list? If so, 2774 sctp_select_nth_preferred_addr_from_ifn_boundall(struct sctp_ifn *ifn, argument 2895 sctp_count_num_preferred_boundall(struct sctp_ifn *ifn, struct sctp_inpcb *inp, struct sctp_tcb *stcb, int non_asoc_addr_ok, uint8_t dest_is_loop, uint8_t dest_is_priv, sa_family_t fam) argument 2964 void *ifn; local [all...] |
H A D | sctp_asconf.c | 940 sctp_asconf_nets_cleanup(struct sctp_tcb *stcb, struct sctp_ifn *ifn) argument 947 * to know whether the newly added address on the ifn would cause a 951 * ifn (and cached source addrs) and let output re-choose them 962 ((ifn == NULL) || 963 (SCTP_GET_IF_INDEX_FROM_ROUTE(&net->ro) != ifn->ifn_index))) { 3157 } /* end foreach ifn */
|
/freebsd-10-stable/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-10-stable/usr.bin/uniq/ |
H A D | uniq.c | 95 const char *ifn; local 144 ifn = "stdin"; 147 ifp = file(ifn = argv[0], "r"); 150 err(1, "unable to limit rights for %s", ifn); 181 err(1, "%s", ifn); 223 err(1, "%s", ifn);
|
/freebsd-10-stable/sys/netpfil/pf/ |
H A D | if_pflog.c | 202 struct ifnet *ifn; local 208 if ((ifn = pflogifs[rm->logif]) == NULL || !ifn->if_bpf) 254 ifn->if_opackets++; 255 ifn->if_obytes += m->m_pkthdr.len; 256 BPF_MTAP2(ifn, &hdr, PFLOG_HDRLEN, m);
|
/freebsd-10-stable/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-10-stable/usr.bin/unifdef/ |
H A D | unifdef.c | 378 processinout(const char *ifn, const char *ofn) argument 382 if (ifn == NULL || strcmp(ifn, "-") == 0) { 387 filename = ifn; 388 linefile = ifn; 389 input = fopen(ifn, "rb"); 391 err(2, "can't open %s", ifn);
|
/freebsd-10-stable/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); 162 strncpy(n->if_name, ifn, IF_NAMESIZE);
|
/freebsd-10-stable/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-10-stable/sbin/natd/ |
H A D | natd.c | 890 SetAliasAddressFromIfName(const char *ifn) argument 935 if (strlen(ifn) == sdl->sdl_nlen && 936 strncmp(ifn, sdl->sdl_data, sdl->sdl_nlen) == 0) { 944 errx(1, "unknown interface name %s", ifn); 974 warnx("%s: cannot get interface address", ifn);
|