Home
last modified time | relevance | path

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

12

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dethtool.h33 #define ETH_GSTRING_LEN (2 * IF_NAMESIZE) /* Increase if not large enough */
/freebsd/sys/netinet6/
H A Dip_fw_nptv6.h43 char if_name[IF_NAMESIZE];
/freebsd/sys/netpfil/ipfw/nptv6/
H A Dnptv6.h55 char if_name[IF_NAMESIZE];
H A Dnptv6.c448 memcpy(uc->if_name, cfg->if_name, IF_NAMESIZE); in nptv6_export_config()
585 if (strncmp(args->ifp->if_xname, cfg->if_name, IF_NAMESIZE)) in ifaddr_cb()
691 memcpy(cfg->if_name, uc->if_name, IF_NAMESIZE); in nptv6_create()
/freebsd/usr.bin/systat/
H A Difstat.c65 char display_name[IF_NAMESIZE];
373 snprintf(ifp->display_name, IF_NAMESIZE, "%*s", IF_NAMESIZE-1, in format_device_name()
/freebsd/sys/netinet/
H A Dip_fw.h586 char if_name[IF_NAMESIZE]; /* interface name */
873 char iface[IF_NAMESIZE]; /* interface name */
997 char iface[IF_NAMESIZE]; /* interface name */
/freebsd/sys/net/
H A Dif.h53 #define IF_NAMESIZE 16 macro
55 #define IFNAMSIZ IF_NAMESIZE
H A Droute.c380 char if_name[IF_NAMESIZE]; in info_get_ifp()
383 if (sdl->sdl_nlen >= IF_NAMESIZE) in info_get_ifp()
/freebsd/usr.sbin/wake/
H A Dwake.c187 char ifname[IF_NAMESIZE]; in main()
/freebsd/contrib/ntp/libntp/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/contrib/tcpdump/
H A Dprint-sll.c413 char ifname[IF_NAMESIZE]; in sll2_if_print()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_nat.c93 char if_name[IF_NAMESIZE]; /* interface name */
120 if (strncmp(ptr->if_name, ifp->if_xname, IF_NAMESIZE) != 0) in ifaddr_change()
922 char if_name[IF_NAMESIZE];
H A Dip_fw_table_algo.c2206 if (strnlen(ifname, IF_NAMESIZE) == IF_NAMESIZE) in ta_prepare_add_ifidx()
2298 if (strnlen(ifname, IF_NAMESIZE) == IF_NAMESIZE) in ta_prepare_del_ifidx()
2526 tent->masklen = 8 * IF_NAMESIZE; in ta_dump_ifidx_tentry()
2527 memcpy(&tent->k, ife->no.name, IF_NAMESIZE); in ta_dump_ifidx_tentry()
2544 if (strnlen(ifname, IF_NAMESIZE) == IF_NAMESIZE) in ta_find_ifidx_tentry()
H A Dip_fw_compat.c145 char iface[IF_NAMESIZE]; /* interface name */
/freebsd/contrib/libpcap/
H A Dpcap-haiku.c377 if (strlen(device) >= IF_NAMESIZE) { in validate_ifname()
H A Dpcap.c1528 #define IF_NAMESIZE 8192 macro
1536 #ifndef IF_NAMESIZE
1537 #define IF_NAMESIZE IFNAMSIZ macro
1540 static char device[IF_NAMESIZE + 1];
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_compat.h39 # ifdef IF_NAMESIZE
40 # define LIFNAMSIZ IF_NAMESIZE
/freebsd/sbin/ipfw/
H A Dtables.c1260 mask = MIN(strlen(arg), IF_NAMESIZE - 1); in tentry_fill_key_type()
1263 masklen = 8 * IF_NAMESIZE; in tentry_fill_key_type()
1814 char abuf[INET6_ADDRSTRLEN + IF_NAMESIZE + 2]; in table_show_value()
H A Dnat.c169 strncpy(n->if_name, ifn, IF_NAMESIZE); in set_addr_dynamic()
H A Dipfw2.c1982 char buf[INET6_ADDRSTRLEN + IF_NAMESIZE + 2]; in print_fwd()
/freebsd/usr.sbin/mtest/
H A Dmtest.c781 strlcpy(ifr.ifr_name, str1, IF_NAMESIZE); in process_cmd()
/freebsd/usr.sbin/rarpd/
H A Drarpd.c78 char ii_ifname[IF_NAMESIZE];
/freebsd/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/contrib/unbound/services/
H A Dlisten_dnsport.c1701 char addr_buf[INET6_ADDRSTRLEN + 1 + IF_NAMESIZE + 1 + 16 + 1]; in resolve_ifa_name()
1737 char if_index_name[IF_NAMESIZE + 1]; in resolve_ifa_name()

12