/freebsd-13-stable/libexec/rc/rc.d/ |
H A D | wpa_supplicant | 17 ifn="$2" 18 if [ -z "$ifn" ]; then 30 if is_wired_interface ${ifn} ; then 32 elif is_ndis_interface ${ifn} ; then 42 pidfile="/var/run/${name}/${ifn}.pid" 43 command_args="-B -i $ifn -c $conf_file -D $driver -P $pidfile"
|
H A D | dhclient | 12 ifn="$2" 17 pidfile="/var/run/dhclient/${name}.${ifn}.pid" 25 if [ -z "${rc_force}" ] && ! dhcpif $ifn; then 27 msg="'$ifn' is not a DHCP-enabled interface" 42 specific=$(get_if_var $ifn dhclient_flags_IF) 47 background_dhclient=$(get_if_var $ifn background_dhclient_IF $background_dhclient) 57 rc_flags="${rc_flags} ${ifn}" 63 if [ -z $ifn ] ; then
|
H A D | hostapd | 16 ifn="$2" 17 if [ -z "$ifn" ]; then 23 conf_file="/etc/${name}-${ifn}.conf" 24 pidfile="/var/run/${name}-${ifn}.pid"
|
H A D | sppp | 25 for ifn in ${sppp_interfaces}; do 26 eval spppcontrol_args=\$spppconfig_${ifn} 31 eval spppcontrol ${ifn} ${spppcontrol_args}
|
H A D | netif | 187 for ifn in $_cooked_list; do 188 case ${ifn#epair} in 193 $ifn) _tmp_list="$_tmp_list ${ifn}a ${ifn}b" ;; 194 *) _tmp_list="$_tmp_list ${ifn}" ;; 205 for ifn in ${_cooked_list# }; do 206 # Skip if ifn does not exist. 209 if ! ${IFCONFIG_CMD} $ifn > /dev/null 2>&1; then 210 warn "$ifn doe [all...] |
H A D | natd | 24 for ifn in ${dhcp_list}; do 26 ${ifn})
|
/freebsd-13-stable/libexec/rc/ |
H A D | pccard_ether | 37 eval ifx_routes=\$static_routes_${ifn} 54 eval ifx_routes=\$static_routes_${ifn} 67 autoif $ifn || exit 0 73 ifexists $ifn || exit 1 77 if [ "${uif}" = "${ifn}" ]; then 84 /etc/rc.d/netif quietstart $ifn 88 if [ -n "`ifconfig_getargs $ifn`" ]; then 89 if ! dhcpif $ifn; then 99 if [ -n "`ifconfig_getargs $ifn`" ]; then 100 if ! dhcpif $ifn; the [all...] |
/freebsd-13-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-13-stable/sys/contrib/zstd/examples/ |
H A D | multiple_streaming_compression.c | 113 const char* const ifn = argv[argNb]; local 114 size_t const ifnSize = strlen(ifn); 122 strcat(ofnBuffer, ifn); 124 compressFile_orDie(ress, ifn, ofnBuffer);
|
/freebsd-13-stable/sys/netinet/ |
H A D | sctp_bsd_addr.c | 68 MALLOC_DEFINE(SCTP_M_IFN, "sctp_ifn", "sctp ifn struct"); 147 sctp_is_desired_interface_type(struct ifnet *ifn) argument 152 switch (ifn->if_type) { 197 struct ifnet *ifn; local 207 CK_STAILQ_FOREACH(ifn, &MODULE_GLOBAL(ifnet), if_link) { 208 if (sctp_is_desired_interface_type(ifn) == 0) { 212 CK_STAILQ_FOREACH(ifa, &ifn->if_addrhead, ifa_link) { 252 (void *)ifn, 253 ifn->if_index, 254 ifn [all...] |
H A D | sctp_os_bsd.h | 205 #define SCTP_IFN_IS_IFT_LOOP(ifn) ((ifn)->ifn_type == IFT_LOOP) 316 #define SCTP_GATHER_MTU_FROM_IFN_INFO(ifn, ifn_index, af) ((struct ifnet *)ifn)->if_mtu
|
H A D | sctp_pcb.h | 82 uint32_t ifn_index; /* shorthand way to look at ifn for reference */ 96 * is pulled from the ifn list 107 struct sctp_ifn *ifn_p; /* back pointer to parent ifn */ 488 struct sctp_ifn *sctp_find_ifn(void *ifn, uint32_t ifn_index); 498 * If a ifn goes down, we will do src-addr-selection 508 void *ifn, uint32_t ifn_index, uint32_t ifn_type,
|
/freebsd-13-stable/sbin/nvmecontrol/ |
H A D | passthru.c | 64 const char *ifn; member in struct:options 85 .ifn = "", 130 ARG("input-file", 'i', arg_path, opt, ifn, 174 if (*opt.ifn && (ifd = open(opt.ifn, O_RDONLY)) == -1) { 175 warn("open %s", opt.ifn); 199 *opt.ifn ? opt.ifn : "stdin",
|
/freebsd-13-stable/contrib/libpcap/ |
H A D | fad-glifc.c | 83 struct lifnum ifn; local 119 ifn.lifn_family = AF_UNSPEC; 120 ifn.lifn_flags = 0; 121 ifn.lifn_count = 0; 122 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) { 133 buf_size = ifn.lifn_count * sizeof (struct lifreq);
|
/freebsd-13-stable/usr.bin/uniq/ |
H A D | uniq.c | 105 const char *ifn; local 158 ifn = "stdin"; 161 ifp = file(ifn = argv[0], "r"); 164 err(1, "unable to limit rights for %s", ifn); 194 err(1, "%s", ifn); 242 err(1, "%s", ifn);
|
/freebsd-13-stable/sys/netpfil/pf/ |
H A D | if_pflog.c | 208 struct ifnet *ifn; local 214 if ((ifn = V_pflogifs[rm->logif]) == NULL || !ifn->if_bpf) 260 if_inc_counter(ifn, IFCOUNTER_OPACKETS, 1); 261 if_inc_counter(ifn, IFCOUNTER_OBYTES, m->m_pkthdr.len); 262 BPF_MTAP2(ifn, &hdr, PFLOG_HDRLEN, m);
|
/freebsd-13-stable/sbin/ifconfig/ |
H A D | ifbridge.c | 552 setbridge_ifpriority(const char *ifn, const char *pri, int s, argument 563 strlcpy(req.ifbr_ifsname, ifn, sizeof(req.ifbr_ifsname)); 571 setbridge_ifpathcost(const char *ifn, const char *cost, int s, argument 582 strlcpy(req.ifbr_ifsname, ifn, sizeof(req.ifbr_ifsname)); 590 setbridge_ifmaxaddr(const char *ifn, const char *arg, int s, argument 601 strlcpy(req.ifbr_ifsname, ifn, sizeof(req.ifbr_ifsname));
|
/freebsd-13-stable/contrib/elftoolchain/elfcopy/ |
H A D | binary.c | 139 create_elf_from_binary(struct elfcopy *ecp, int ifd, const char *ifn) argument 219 if ((sym_basename = strdup(ifn)) == NULL)
|
H A D | elfcopy.h | 287 void create_elf_from_binary(struct elfcopy *_ecp, int _ifd, const char *ifn);
|
/freebsd-13-stable/usr.bin/unifdef/ |
H A D | unifdef.c | 425 processinout(const char *ifn, const char *ofn) argument 429 if (ifn == NULL || strcmp(ifn, "-") == 0) { 434 filename = ifn; 435 linefile = ifn; 436 input = fopen(ifn, "rb"); 438 err(2, "can't open %s", ifn);
|
/freebsd-13-stable/sbin/ipfw/ |
H A D | nat.c | 77 * Search for interface with name "ifn", and fill n accordingly: 79 * n->ip ip address of interface "ifn" 80 * n->if_name copy of interface name "ifn" 83 set_addr_dynamic(const char *ifn, struct nat44_cfg_nat *n) argument 128 if (strlen(ifn) == sdl->sdl_nlen && 129 strncmp(ifn, sdl->sdl_data, sdl->sdl_nlen) == 0) { 136 errx(1, "unknown interface name %s", ifn); 170 strncpy(n->if_name, ifn, IF_NAMESIZE);
|
/freebsd-13-stable/usr.sbin/pmcstat/ |
H A D | pmcpl_calltree.c | 672 pmcstat_interned_string ifl, ifn; local 676 ifn = pmcstat_string_intern(fn); 679 ifn = 0; 696 ct->pct_ifl == ifl && ct->pct_ifn == ifn) 712 ct->pct_ifn = ifn;
|
/freebsd-13-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);
|