Searched refs:ifindex (Results 51 - 70 of 70) sorted by relevance

123

/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntp_io.c540 printf("ifindex = %u\n", itf->ifindex);
573 printf("%sinterface #%d: fd=%d, bfd=%d, name=%s, flags=0x%x, ifindex=%u, sin=%s",
580 iface->ifindex,
960 (void *)&ep->ifindex,
961 sizeof(ep->ifindex));
962 /* do not complain if bound addr scope is ifindex */
963 if (rc && ep->ifindex != SCOPE(&ep->sin))
966 ep->ifindex, stoa(&ep->sin));
1407 itf->ifindex
[all...]
H A Dntp_peer.c687 "fd=%d, bfd=%d, name=%.16s, flags=0x%x, ifindex=%u, sin=%s",
689 niface->flags, niface->ifindex,
H A Dntp_request.c2707 ifs->ifindex = htonl(ep->ifindex);
2709 ifs->scopeid = ifs->ifindex;
/freebsd-9.3-release/sys/netinet/
H A Din_mcast.c2760 * keyed by (ifindex, group).
2764 * SMPng: NOTE: unlocked read of ifindex space.
2777 uint32_t fmode, ifindex; local
2788 ifindex = name[0];
2789 if (ifindex <= 0 || ifindex > V_if_index) {
2790 CTR2(KTR_IGMPV3, "%s: ifindex %u out of range",
2791 __func__, ifindex);
2802 ifp = ifnet_byindex(ifindex);
2804 CTR2(KTR_IGMPV3, "%s: no ifp for ifindex
[all...]
H A Digmp.c318 * Return saved ifindex.
414 * Expose struct igmp_ifinfo to userland, keyed by ifindex.
417 * SMPng: NOTE: Does an unlocked ifindex space read.
3394 uint32_t ifindex; local
3405 ifindex = igmp_restore_context(m);
3412 ifp = ifnet_byindex(ifindex);
3414 CTR3(KTR_IGMPV3, "%s: dropped %p as ifindex %u went away.",
3415 __func__, m, ifindex);
/freebsd-9.3-release/contrib/pf/pfctl/
H A Dparse.y3879 !$5.src.host->ifindex)
3882 !$5.dst.host->ifindex)
3916 if (!r.af && ! $9->host->ifindex)
5058 (src_host->ifindex && dst_host->ifindex &&
5059 src_host->ifindex != dst_host->ifindex) ||
5060 (src_host->ifindex && *interface->ifname &&
5061 src_host->ifindex != if_nametoindex(interface->ifname)) ||
5062 (dst_host->ifindex
[all...]
/freebsd-9.3-release/usr.sbin/rtadvd/
H A Dconfig.c898 * If an entry with the same ifindex exists, remove it first.
1281 make_prefix(struct rainfo *rai, int ifindex, struct in6_addr *addr, int plen) argument
1286 if (if_indextoname(ifindex, ipr.ipr_name) == NULL) {
1289 ifindex, strerror(errno));
/freebsd-9.3-release/sys/netinet6/
H A Dnd6.h207 u_long ifindex; member in struct:in6_ndifreq
H A Dmld6.c293 * Return saved ifindex.
348 * Expose struct mld_ifinfo to userland, keyed by ifindex.
351 * SMPng: NOTE: Does an unlocked ifindex space read.
3059 uint32_t ifindex; local
3069 ifindex = mld_restore_context(m);
3076 ifp = ifnet_byindex(ifindex);
3078 CTR3(KTR_MLD, "%s: dropped %p as ifindex %u went away.",
3079 __func__, m, ifindex);
H A Din6.c261 uint32_t ifindex; member in struct:in6_ndifreq32
333 ndif32->ifindex = ndif.ifindex;
H A Dnd6.c1532 ndif->ifindex = V_nd6_defifindex;
1535 return (nd6_setdefaultiface(ndif->ifindex));
/freebsd-9.3-release/sbin/routed/
H A Dif.c210 ifwithindex(u_short ifindex, argument
217 if (ifp->int_index == ifindex)
/freebsd-9.3-release/usr.sbin/ppp/
H A Droute.c732 add_scope(struct sockaddr *sa, int ifindex) argument
744 *(u_int16_t *)&sa6->sin6_addr.s6_addr[2] = htons(ifindex);
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Daddr.c100 dev_addr->bound_dev_if = dev->ifindex;
H A Dcma.c3217 if ((dev_addr->bound_dev_if == ndev->ifindex) &&
/freebsd-9.3-release/contrib/ntp/include/
H A Dntp_request.h923 u_int32 ifindex; /* interface index - from system */ member in struct:info_if_stats
H A Dntp.h196 u_int ifindex; /* for IPV6_MULTICAST_IF */ member in struct:interface
/freebsd-9.3-release/usr.sbin/ntp/ntpdc/
H A Dnl.c870 printf("offsetof(ifindex) = %d\n",
871 (int) offsetof(struct info_if_stats, ifindex));
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/
H A Dinterfaceiter.c468 iter->current.ifindex = adap->Ipv6IfIndex;
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_compat.h1201 ((struct net_device *)fin->fin_ifp)->ifindex) & 7)
1226 # define if_unit ifindex

Completed in 704 milliseconds

123