/openbsd/sys/netinet/ |
H A D | ip_carp.h | 204 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 D | ripctl.c | 241 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 D | ldpctl.c | 270 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 D | eigrpctl.c | 282 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 D | in6_ifattach.c | 115 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 D | ripd.h | 185 u_int8_t if_type; member 259 u_int8_t if_type; member 282 u_int8_t if_type; member
|
H A D | interface.c | 428 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 D | ospfctl.c | 345 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 D | output.c | 168 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 D | dvmrpd.h | 225 u_int8_t if_type; member 261 u_int8_t if_type; member 307 u_int8_t if_type; member
|
H A D | interface.c | 200 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 D | dvmrpctl.c | 276 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 D | parse.y | 618 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 D | interface.c | 67 iface->if_type = kif->if_type; in if_new() 419 ictl.if_type = ia->iface->if_type; in if_to_ctl()
|
H A D | ldpd.h | 282 uint8_t if_type; member 481 uint8_t if_type; member 494 uint8_t if_type; member
|
/openbsd/usr.sbin/ospfd/ |
H A D | interface.c | 204 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 D | ospfd.h | 362 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 D | autoconf.c | 58 if (ifp->if_type == IFT_ETHER && in diskconf()
|
/openbsd/usr.sbin/eigrpd/ |
H A D | eigrpd.h | 167 uint8_t if_type; member 363 uint8_t if_type; member 380 uint8_t if_type; member
|
H A D | interface.c | 88 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 D | ospf6ctl.c | 367 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 D | autoconf.c | 76 if (ifp->if_type == IFT_ETHER && in diskconf()
|
/openbsd/sys/arch/armv7/armv7/ |
H A D | autoconf.c | 131 if (ifp->if_type == IFT_ETHER && in diskconf()
|
/openbsd/sys/arch/arm64/arm64/ |
H A D | autoconf.c | 90 if (ifp->if_type == IFT_ETHER && in diskconf()
|
/openbsd/usr.sbin/ospf6d/ |
H A D | interface.c | 242 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()
|