Home
last modified time | relevance | path

Searched refs:IF_NAMESIZE (Results 1 – 25 of 25) sorted by relevance

/freebsd-13.1/sys/netinet6/
H A Dip_fw_nptv6.h45 char if_name[IF_NAMESIZE];
/freebsd-13.1/sys/netpfil/ipfw/nptv6/
H A Dnptv6.h57 char if_name[IF_NAMESIZE];
H A Dnptv6.c450 memcpy(uc->if_name, cfg->if_name, IF_NAMESIZE); in nptv6_export_config()
587 if (strncmp(args->ifp->if_xname, cfg->if_name, IF_NAMESIZE)) in ifaddr_cb()
693 memcpy(cfg->if_name, uc->if_name, IF_NAMESIZE); in nptv6_create()
/freebsd-13.1/usr.bin/systat/
H A Difstat.c71 char display_name[IF_NAMESIZE];
384 snprintf(ifp->display_name, IF_NAMESIZE, "%*s", IF_NAMESIZE-1, in format_device_name()
/freebsd-13.1/sys/net/
H A Dif.h56 #define IF_NAMESIZE 16 macro
58 #define IFNAMSIZ IF_NAMESIZE
H A Droute.c522 char if_name[IF_NAMESIZE]; in info_get_ifp()
525 if (sdl->sdl_nlen >= IF_NAMESIZE) in info_get_ifp()
/freebsd-13.1/sys/netinet/
H A Dip_fw.h503 char if_name[IF_NAMESIZE]; /* interface name */
792 char iface[IF_NAMESIZE]; /* interface name */
901 char iface[IF_NAMESIZE]; /* interface name */
/freebsd-13.1/usr.sbin/wake/
H A Dwake.c189 char ifname[IF_NAMESIZE]; in main()
/freebsd-13.1/contrib/ntp/lib/isc/unix/
H A Difiter_ioctl.c103 #ifndef IF_NAMESIZE
105 # define IF_NAMESIZE IFNAMSIZ macro
107 # define IF_NAMESIZE 16 macro
H A Dinterfaceiter.c191 char name[IF_NAMESIZE+1]; in linux_if_inet6_current()
/freebsd-13.1/sys/netpfil/ipfw/
H A Dip_fw_nat.c95 char if_name[IF_NAMESIZE]; /* interface name */
122 if (strncmp(ptr->if_name, ifp->if_xname, IF_NAMESIZE) != 0) in ifaddr_change()
924 char if_name[IF_NAMESIZE];
H A Dip_fw_table_algo.c2194 if (strnlen(ifname, IF_NAMESIZE) == IF_NAMESIZE) in ta_prepare_add_ifidx()
2289 if (strnlen(ifname, IF_NAMESIZE) == IF_NAMESIZE) in ta_prepare_del_ifidx()
2517 tent->masklen = 8 * IF_NAMESIZE; in ta_dump_ifidx_tentry()
2518 memcpy(&tent->k, ife->no.name, IF_NAMESIZE); in ta_dump_ifidx_tentry()
2535 if (strnlen(ifname, IF_NAMESIZE) == IF_NAMESIZE) in ta_find_ifidx_tentry()
/freebsd-13.1/lib/libc/net/
H A Dgetnameinfo.c401 IN6_IS_ADDR_MC_NODELOCAL(a6)) && bufsiz >= IF_NAMESIZE) { in ip6_sa2str()
/freebsd-13.1/contrib/apr/network_io/unix/
H A Dsockaddr.c144 char scbuf[IF_NAMESIZE], *p = buf + strlen(buf); in apr_sockaddr_ip_getbuf()
1274 char *buf = apr_palloc(p, IF_NAMESIZE);
/freebsd-13.1/sys/netpfil/ipfilter/netinet/
H A Dip_compat.h42 # ifdef IF_NAMESIZE
43 # define LIFNAMSIZ IF_NAMESIZE
/freebsd-13.1/contrib/libpcap/
H A Dpcap.c1356 #define IF_NAMESIZE 8192
1364 #ifndef IF_NAMESIZE
1365 #define IF_NAMESIZE IFNAMSIZ
1368 static char device[IF_NAMESIZE + 1];
/freebsd-13.1/sbin/ipfw/
H A Dtables.c1239 mask = MIN(strlen(arg), IF_NAMESIZE - 1); in tentry_fill_key_type()
1242 masklen = 8 * IF_NAMESIZE; in tentry_fill_key_type()
1790 char abuf[INET6_ADDRSTRLEN + IF_NAMESIZE + 2]; in table_show_value()
H A Dnat.c170 strncpy(n->if_name, ifn, IF_NAMESIZE); in set_addr_dynamic()
H A Dipfw2.c1802 char buf[INET6_ADDRSTRLEN + IF_NAMESIZE + 2]; in print_fwd()
/freebsd-13.1/usr.sbin/mtest/
H A Dmtest.c784 strlcpy(ifr.ifr_name, str1, IF_NAMESIZE); in process_cmd()
/freebsd-13.1/usr.sbin/arp/
H A Darp.c536 char ifname[IF_NAMESIZE]; in search()
/freebsd-13.1/usr.sbin/rarpd/
H A Drarpd.c88 char ii_ifname[IF_NAMESIZE];
/freebsd-13.1/contrib/bsnmp/lib/
H A Dsnmpclient.c1975 char str[INET6_ADDRSTRLEN + IF_NAMESIZE]; in get_ipv6()
1992 if (p - *strp > INET6_ADDRSTRLEN + IF_NAMESIZE) { in get_ipv6()
/freebsd-13.1/contrib/unbound/services/
H A Dlisten_dnsport.c1499 char addr_buf[INET6_ADDRSTRLEN + 1 + IF_NAMESIZE + 1 + 16 + 1]; in resolve_ifa_name()
1535 char if_index_name[IF_NAMESIZE + 1]; in resolve_ifa_name()
/freebsd-13.1/sbin/pfctl/
H A Dparse.y5398 char ifname[IF_NAMESIZE]; in expand_rule()