Home
last modified time | relevance | path

Searched refs:ifp0 (Results 1 – 20 of 20) sorted by relevance

/dports/misc/rump/buildrump.sh-b914579/src/sys/net/
H A Dif_tokensubr.c156 token_output(struct ifnet *ifp0, struct mbuf *m0, const struct sockaddr *dst, in token_output() argument
166 struct arphdr *ah = (struct arphdr *)ifp0; in token_output()
170 struct ifnet *ifp = ifp0; in token_output()
178 if (dst != NULL && ifp0->if_link_state == LINK_STATE_UP && in token_output()
180 ifa->ifa_ifp == ifp0) in token_output()
181 return (looutput(ifp0, m, dst, rt)); in token_output()
186 if ((ifp0->if_flags & (IFF_UP|IFF_RUNNING)) != in token_output()
366 if (ifp0 != ifp && ifp0->if_type == IFT_CARP) { in token_output()
367 memcpy((void *)trh->token_shost, CLLADDR(ifp0->if_sadl), in token_output()
H A Dif_fddisubr.c188 fddi_output(struct ifnet *ifp0, struct mbuf *m0, const struct sockaddr *dst, in fddi_output() argument
197 struct ifnet *ifp = ifp0; in fddi_output()
206 if (dst != NULL && ifp0->if_link_state == LINK_STATE_UP && in fddi_output()
208 ifa->ifa_ifp == ifp0) in fddi_output()
209 return (looutput(ifp0, m, dst, rt)); in fddi_output()
214 if ((ifp0->if_flags & (IFF_UP|IFF_RUNNING)) != in fddi_output()
394 if (ifp0 != ifp && ifp0->if_type == IFT_CARP) { in fddi_output()
395 if_set_sadl(ifp0, fh->fddi_shost, sizeof(fh->fddi_shost), in fddi_output()
399 if (ifp != ifp0) in fddi_output()
400 ifp0->if_obytes += m->m_pkthdr.len; in fddi_output()
H A Dif_ethersubr.c189 ether_output(struct ifnet * const ifp0, struct mbuf * const m0, in ether_output() argument
199 struct ifnet *ifp = ifp0; in ether_output()
223 if (dst != NULL && ifp0->if_link_state == LINK_STATE_UP && in ether_output()
225 ifa->ifa_ifp == ifp0) in ether_output()
226 return looutput(ifp0, m, dst, rt); in ether_output()
231 if ((ifp0->if_flags & (IFF_UP|IFF_RUNNING)) != in ether_output()
402 if (ifp0 != ifp && ifp0->if_type == IFT_CARP) { in ether_output()
403 memcpy(eh->ether_shost, CLLADDR(ifp0->if_sadl), in ether_output()
422 if (ifp != ifp0) in ether_output()
423 ifp0->if_obytes += m->m_pkthdr.len + ETHER_HDR_LEN; in ether_output()
/dports/misc/rump/buildrump.sh-b914579/src/sys/netinet6/
H A Din6_ifattach.c455 get_ifid(struct ifnet *ifp0, struct ifnet *altifp, in get_ifid() argument
462 if (in6_get_hw_ifid(ifp0, in6) == 0) { in get_ifid()
464 if_name(ifp0)); in get_ifid()
471 if_name(ifp0), if_name(altifp)); in get_ifid()
478 if (ifp == ifp0) in get_ifid()
490 if_name(ifp0), if_name(ifp)); in get_ifid()
501 if_name(ifp0)); in get_ifid()
510 if_name(ifp0)); in get_ifid()
514 printf("%s: failed to get interface identifier\n", if_name(ifp0)); in get_ifid()
519 if_name(ifp0), in6->s6_addr[8], in6->s6_addr[9], in6->s6_addr[10], in get_ifid()
H A Dicmp6.c1748 struct icmp6_nodeinfo *nni6, struct ifnet *ifp0, in ni6_store_addrs() argument
1751 struct ifnet *ifp = ifp0 ? ifp0 : IFNET_READER_FIRST(); in ni6_store_addrs()
1760 if (ifp0 == NULL && !(niflags & NI_NODEADDR_FLAG_ALL)) in ni6_store_addrs()
1869 if (ifp0) /* we need search only on the specified IF */ in ni6_store_addrs()
/dports/dns/samba-nsupdate/bind-9.16.5/lib/ns/tests/
H A Dnstest.h121 ns_test_getclient(ns_interface_t *ifp0, bool tcp, ns_client_t **clientp);
H A Dnstest.c549 ns_test_getclient(ns_interface_t *ifp0, bool tcp, ns_client_t **clientp) { in ns_test_getclient() argument
554 UNUSED(ifp0); in ns_test_getclient()
/dports/dns/bind9-devel/bind9-e112afa15668bd3b1baed59df2d21e01b46da15e/lib/ns/tests/
H A Dnstest.h130 ns_test_getclient(ns_interface_t *ifp0, bool tcp, ns_client_t **clientp);
H A Dnstest.c566 ns_test_getclient(ns_interface_t *ifp0, bool tcp, ns_client_t **clientp) { in ns_test_getclient() argument
571 UNUSED(ifp0); in ns_test_getclient()
/dports/dns/bind916/bind-9.16.27/lib/ns/tests/
H A Dnstest.h132 ns_test_getclient(ns_interface_t *ifp0, bool tcp, ns_client_t **clientp);
H A Dnstest.c594 ns_test_getclient(ns_interface_t *ifp0, bool tcp, ns_client_t **clientp) { in ns_test_getclient() argument
599 UNUSED(ifp0); in ns_test_getclient()
/dports/dns/bind-tools/bind-9.16.27/lib/ns/tests/
H A Dnstest.h132 ns_test_getclient(ns_interface_t *ifp0, bool tcp, ns_client_t **clientp);
H A Dnstest.c594 ns_test_getclient(ns_interface_t *ifp0, bool tcp, ns_client_t **clientp) { in ns_test_getclient() argument
599 UNUSED(ifp0); in ns_test_getclient()
/dports/net/dhcpcd/dhcpcd-9.4.1/src/
H A Ddhcpcd.c1130 struct interface *ifp0 = arg, *ifp; in dhcpcd_checkcarrier() local
1132 ifp = if_find(ifp0->ctx->ifaces, ifp0->name); in dhcpcd_checkcarrier()
1133 if (ifp == NULL || ifp->carrier == ifp0->carrier) in dhcpcd_checkcarrier()
1136 dhcpcd_handlecarrier(ifp, ifp0->carrier, ifp0->flags); in dhcpcd_checkcarrier()
1137 if_free(ifp0); in dhcpcd_checkcarrier()
H A Ddhcp6.c1185 struct interface *ifp0; in dhcp6_delete_delegates() local
1188 TAILQ_FOREACH(ifp0, ifp->ctx->ifaces, next) { in dhcp6_delete_delegates()
1189 if (ifp0 != ifp) in dhcp6_delete_delegates()
1190 dhcp6_freedrop_addrs(ifp0, 1, ifp); in dhcp6_delete_delegates()
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/pci/
H A Dif_msk.c1861 struct ifnet *ifp0 = NULL, *ifp1 = NULL; in msk_intr() local
1878 ifp0 = &sc_if0->sk_ethercom.ec_if; in msk_intr()
1883 (ifp0->if_flags & IFF_RUNNING)) { in msk_intr()
1951 if (ifp0 != NULL && !IFQ_IS_EMPTY(&ifp0->if_snd)) in msk_intr()
1952 msk_start(ifp0); in msk_intr()
H A Dif_sk.c2327 struct ifnet *ifp0 = NULL, *ifp1 = NULL; in sk_intr() local
2332 ifp0 = &sc_if0->sk_ethercom.ec_if; in sk_intr()
2371 (ifp0->if_flags & IFF_RUNNING)) { in sk_intr()
2400 if (ifp0 != NULL && !IFQ_IS_EMPTY(&ifp0->if_snd)) in sk_intr()
2401 sk_start(ifp0); in sk_intr()
/dports/japanese/xtr/xtr1.50e-0.2/src/
H A Dmain.c1959 FILE *ifp0 = ifp; in Include() local
2035 ifp = ifp0; in Include()
H A Dmain.c.sjis1959 FILE *ifp0 = ifp;
2035 ifp = ifp0;
/dports/net-mgmt/librenms/librenms-21.5.1/tests/snmpsim/
H A Dciena-waveserver.snmprec1 1.0.8802.1.1.2.1.3.7.1.3.4|4|ifp0-dcn-1