Home
last modified time | relevance | path

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

1234

/openbsd/sys/netinet/
H A Dip_carp.h204 return ((ifp_a->if_type == IFT_CARP && in carp_strict_addr_chk()
206 (ifp_b->if_type == IFT_CARP && in carp_strict_addr_chk()
208 (ifp_a->if_type == IFT_CARP && ifp_b->if_type == IFT_CARP && in carp_strict_addr_chk()
/openbsd/usr.sbin/ripctl/
H A Dripctl.c241 get_ifms_type(uint8_t if_type) in get_ifms_type() argument
243 switch (if_type) { in get_ifms_type()
324 get_linkstate(iface->if_type, iface->linkstate), in show_interface_msg()
472 ifms_type = get_ifms_type(k->if_type); in show_fib_interface_msg()
476 printf("%s", get_linkstate(k->if_type, k->link_state)); in show_fib_interface_msg()
512 get_linkstate(uint8_t if_type, int link_state) in get_linkstate() argument
518 if (LINK_STATE_DESC_MATCH(p, if_type, link_state)) in get_linkstate()
/openbsd/usr.sbin/ldpctl/
H A Dldpctl.c270 get_ifms_type(uint8_t if_type) in get_ifms_type() argument
272 switch (if_type) { in get_ifms_type()
346 if_state_name(iface->state), get_linkstate(iface->if_type, in show_interface_msg()
559 ifms_type = get_ifms_type(k->if_type); in show_fib_interface_msg()
563 printf("%s", get_linkstate(k->if_type, k->link_state)); in show_fib_interface_msg()
660 get_linkstate(uint8_t if_type, int link_state) in get_linkstate() argument
666 if (LINK_STATE_DESC_MATCH(p, if_type, link_state)) in get_linkstate()
/openbsd/usr.sbin/eigrpctl/
H A Deigrpctl.c282 get_ifms_type(uint8_t if_type) in get_ifms_type() argument
284 switch (if_type) { in get_ifms_type()
324 printf(" %-10s %-8s %3u\n", get_linkstate(iface->if_type, in show_interface_msg()
364 get_linkstate(iface->if_type, iface->linkstate), in show_interface_detail_msg()
759 get_linkstate(uint8_t if_type, int link_state) in get_linkstate() argument
765 if (LINK_STATE_DESC_MATCH(p, if_type, link_state)) in get_linkstate()
798 ifms_type = get_ifms_type(k->if_type); in show_fib_interface_msg()
802 printf("%s", get_linkstate(k->if_type, k->link_state)); in show_fib_interface_msg()
/openbsd/sys/netinet6/
H A Din6_ifattach.c115 switch (ifp->if_type) { in in6_get_hw_ifid()
127 switch (ifp->if_type) { in in6_get_hw_ifid()
360 switch (ifp->if_type) { in in6_ifattach()
392 switch (ifp->if_type) { in in6_ifattach()
/openbsd/usr.sbin/ripd/
H A Dripd.h185 u_int8_t if_type; member
259 u_int8_t if_type; member
282 u_int8_t if_type; member
H A Dinterface.c428 iface->if_type = kif->if_type; in if_new()
493 ictl.if_type = iface->if_type; in if_to_ctl()
/openbsd/usr.sbin/ospfctl/
H A Dospfctl.c345 get_ifms_type(uint8_t if_type) in get_ifms_type() argument
347 switch (if_type) { in get_ifms_type()
549 get_linkstate(uint8_t if_type, int link_state) in get_linkstate() argument
555 if (LINK_STATE_DESC_MATCH(p, if_type, link_state)) in get_linkstate()
H A Doutput.c168 get_linkstate(iface->if_type, iface->linkstate)); in show_interface()
232 get_linkstate(iface->if_type, iface->linkstate), in show_interface()
407 ifms_type = get_ifms_type(k->if_type); in show_fib_interface()
411 printf("%s", get_linkstate(k->if_type, k->link_state)); in show_fib_interface()
/openbsd/usr.sbin/dvmrpd/
H A Ddvmrpd.h225 u_int8_t if_type; member
261 u_int8_t if_type; member
307 u_int8_t if_type; member
H A Dinterface.c200 iface->if_type = kif->if_type; in if_new()
675 ictl.if_type = iface->if_type; in if_to_ctl()
/openbsd/usr.sbin/dvmrpctl/
H A Ddvmrpctl.c276 get_linkstate(iface->if_type, iface->linkstate), in show_interface_msg()
307 get_linkstate(iface->if_type, iface->linkstate)); in show_interface_detail_msg()
650 get_linkstate(uint8_t if_type, int link_state) in get_linkstate() argument
656 if (LINK_STATE_DESC_MATCH(p, if_type, link_state)) in get_linkstate()
/openbsd/usr.sbin/ldpd/
H A Dparse.y618 if (kif->if_type != IFT_MPLSTUNNEL &&
712 if (kif->if_type != IFT_BRIDGE) {
1444 if (kif->if_type == IFT_LOOP || in conf_get_if()
1445 kif->if_type == IFT_CARP || in conf_get_if()
1446 kif->if_type == IFT_BRIDGE || in conf_get_if()
1447 kif->if_type == IFT_MPLSTUNNEL) { in conf_get_if()
1527 if (kif->if_type == IFT_LOOP || in conf_get_l2vpn_if()
1528 kif->if_type == IFT_CARP || in conf_get_l2vpn_if()
1529 kif->if_type == IFT_BRIDGE || in conf_get_l2vpn_if()
1530 kif->if_type == IFT_MPLSTUNNEL) { in conf_get_l2vpn_if()
H A Dinterface.c67 iface->if_type = kif->if_type; in if_new()
419 ictl.if_type = ia->iface->if_type; in if_to_ctl()
H A Dldpd.h282 uint8_t if_type; member
481 uint8_t if_type; member
494 uint8_t if_type; member
/openbsd/usr.sbin/ospfd/
H A Dinterface.c204 iface->if_type = kif->if_type; in if_new()
329 !(iface->if_type == IFT_CARP && in if_act_start()
333 if (iface->if_type == IFT_CARP && iface->passive == 0) { in if_act_start()
628 ictl.if_type = iface->if_type; in if_to_ctl()
H A Dospfd.h362 u_int8_t if_type; member
439 u_int8_t if_type; member
484 u_int8_t if_type; member
/openbsd/sys/arch/powerpc64/powerpc64/
H A Dautoconf.c58 if (ifp->if_type == IFT_ETHER && in diskconf()
/openbsd/usr.sbin/eigrpd/
H A Deigrpd.h167 uint8_t if_type; member
363 uint8_t if_type; member
380 uint8_t if_type; member
H A Dinterface.c88 iface->if_type = kif->if_type; in if_new()
502 ictl.if_type = ei->iface->if_type; in if_to_ctl()
/openbsd/usr.sbin/ospf6ctl/
H A Dospf6ctl.c367 get_ifms_type(uint8_t if_type) in get_ifms_type() argument
369 switch (if_type) { in get_ifms_type()
399 get_linkstate(iface->if_type, iface->linkstate), in show_interface_msg()
427 get_media_descr(get_ifms_type(iface->if_type)), in show_interface_detail_msg()
428 get_linkstate(iface->if_type, iface->linkstate), in show_interface_detail_msg()
1346 get_linkstate(uint8_t if_type, int link_state) in get_linkstate() argument
1352 if (LINK_STATE_DESC_MATCH(p, if_type, link_state)) in get_linkstate()
/openbsd/sys/arch/riscv64/riscv64/
H A Dautoconf.c76 if (ifp->if_type == IFT_ETHER && in diskconf()
/openbsd/sys/arch/armv7/armv7/
H A Dautoconf.c131 if (ifp->if_type == IFT_ETHER && in diskconf()
/openbsd/sys/arch/arm64/arm64/
H A Dautoconf.c90 if (ifp->if_type == IFT_ETHER && in diskconf()
/openbsd/usr.sbin/ospf6d/
H A Dinterface.c242 iface->if_type = type; in if_update()
378 if (iface->if_type == IFT_CARP && in if_act_start()
680 ictl.if_type = iface->if_type; in if_to_ctl()

1234