libexec/snmpd/snmpd_metrics/mib.c
1007
if (kif->if_type >= 0xf0) {
libexec/snmpd/snmpd_metrics/mib.c
1014
agentx_varbind_integer(vb, kif->if_type);
libexec/snmpd/snmpd_metrics/mib.c
1146
i = kif->if_type == IFT_ETHER ? 1 : 2;
libexec/snmpd/snmpd_metrics/mib.c
2277
if (kif->if_type == IFT_CARP)
libexec/snmpd/snmpd_metrics/mib.c
2292
if ((kif = kr_getif(idx)) == NULL || kif->if_type != IFT_CARP) {
libexec/snmpd/snmpd_metrics/mib.c
2301
if (kif->if_type != IFT_CARP)
sys/arch/amd64/amd64/autoconf.c
198
if (ifp->if_type == IFT_ETHER &&
sys/arch/arm64/arm64/autoconf.c
90
if (ifp->if_type == IFT_ETHER &&
sys/arch/armv7/armv7/autoconf.c
131
if (ifp->if_type == IFT_ETHER &&
sys/arch/i386/i386/autoconf.c
224
if (ifp->if_type == IFT_ETHER &&
sys/arch/powerpc64/powerpc64/autoconf.c
58
if (ifp->if_type == IFT_ETHER &&
sys/arch/riscv64/riscv64/autoconf.c
76
if (ifp->if_type == IFT_ETHER &&
sys/dev/usb/if_umb.c
635
ifp->if_type = IFT_MBIM;
sys/dev/usb/if_upl.c
261
ifp->if_type = IFT_OTHER;
sys/net/bridgestp.c
1635
if (ifp->if_type == IFT_BRIDGE)
sys/net/bridgestp.c
1999
switch (ifp->if_type) {
sys/net/if.c
1394
if ((ifp0->if_type == IFT_CARP &&
sys/net/if.c
1396
(ifp->if_type == IFT_CARP && ifp->if_carpdevidx == ifp0->if_index))
sys/net/if.c
2438
switch (ifp->if_type) {
sys/net/if.c
2952
data->ifi_type = ifp->if_type;
sys/net/if.c
3536
if (ifp->if_type == IFT_ETHER && ether_brport_isset(ifp)) {
sys/net/if.c
568
sdl->sdl_type = ifp->if_type;
sys/net/if_aggr.c
1204
if (ifp0->if_type != IFT_ETHER) {
sys/net/if_bpe.c
459
if (ifp0->if_type != IFT_ETHER) {
sys/net/if_bpe.c
625
if (ifp0->if_type != IFT_ETHER) {
sys/net/if_bridge.c
198
ifp->if_type = IFT_BRIDGE;
sys/net/if_bridge.c
284
if (ifs->if_type != IFT_ETHER) {
sys/net/if_bridge.c
372
if (ifs->if_type != IFT_ETHER) {
sys/net/if_enc.c
85
ifp->if_type = IFT_ENC;
sys/net/if_ethersubr.c
1462
if (ifp->if_type != IFT_ETHER) {
sys/net/if_ethersubr.c
1794
if (ifp->if_type != IFT_ETHER) {
sys/net/if_ethersubr.c
1929
if (ifp->if_type != IFT_ETHER) {
sys/net/if_ethersubr.c
491
if (ifp->if_type == IFT_ETHER &&
sys/net/if_ethersubr.c
712
ifp->if_type = IFT_ETHER;
sys/net/if_gif.c
168
ifp->if_type = IFT_GIF;
sys/net/if_gre.c
1220
if (ifp->if_type != IFT_TUNNEL) {
sys/net/if_gre.c
649
ifp->if_type = IFT_TUNNEL;
sys/net/if_gre.c
720
ifp->if_type = IFT_L3IPVLAN;
sys/net/if_loop.c
172
ifp->if_type = IFT_LOOP;
sys/net/if_mpe.c
114
ifp->if_type = IFT_MPLS;
sys/net/if_mpip.c
113
ifp->if_type = IFT_TUNNEL;
sys/net/if_pflog.c
108
ifp->if_type = IFT_PFLOG;
sys/net/if_pflow.c
322
ifp->if_type = IFT_PFLOW;
sys/net/if_pfsync.c
399
ifp->if_type = IFT_PFSYNC;
sys/net/if_ppp.c
215
sc->sc_if.if_type = IFT_PPP;
sys/net/if_pppoe.c
242
sc->sc_sppp.pp_if.if_type = IFT_PPP;
sys/net/if_pppoe.c
985
if (eth_if == NULL || eth_if->if_type != IFT_ETHER) {
sys/net/if_pppx.c
1057
ifp->if_type = IFT_L3IPVLAN;
sys/net/if_pppx.c
670
ifp->if_type = IFT_PPP;
sys/net/if_rport.c
111
ifp->if_type = IFT_TUNNEL;
sys/net/if_sec.c
141
ifp->if_type = IFT_TUNNEL;
sys/net/if_spppsubr.c
751
sp->pp_if.if_type = IFT_PPP;
sys/net/if_tpmr.c
158
ifp->if_type = IFT_BRIDGE;
sys/net/if_tpmr.c
513
if (ifp0->if_type != IFT_ETHER) {
sys/net/if_trunk.c
1101
if (ifp->if_type != IFT_IEEE8023ADLAG)
sys/net/if_trunk.c
291
if (ifp->if_type != IFT_ETHER)
sys/net/if_trunk.c
336
tp->tp_iftype = ifp->if_type;
sys/net/if_trunk.c
337
ifp->if_type = IFT_IEEE8023ADLAG;
sys/net/if_trunk.c
430
ifp->if_type = tp->tp_iftype;
sys/net/if_trunk.c
483
if (ifp->if_type != IFT_IEEE8023ADLAG ||
sys/net/if_trunk.c
532
if (ifp->if_type == IFT_IEEE8023ADLAG &&
sys/net/if_tun.c
267
ifp->if_type = IFT_TUNNEL;
sys/net/if_tun.c
716
if (tunp->type != sc->sc_if.if_type) {
sys/net/if_tun.c
730
tunp->type = sc->sc_if.if_type;
sys/net/if_var.h
187
u_char if_type;
sys/net/if_veb.c
1752
if (ifp0->if_type != IFT_ETHER) {
sys/net/if_veb.c
3521
ifp->if_type = IFT_ETHER;
sys/net/if_veb.c
461
ifp->if_type = IFT_BRIDGE;
sys/net/if_vlan.c
499
if (ifp0->if_type != IFT_ETHER) {
sys/net/if_vlan.c
932
if (ifp0->if_type != IFT_ETHER) {
sys/net/if_wg.c
2777
ifp->if_type = IFT_WIREGUARD;
sys/net/pf.c
3950
if (ifp->if_type == IFT_CARP) {
sys/net/pf.c
7224
if (kif != NULL && kif->pfik_ifp->if_type == IFT_ENC)
sys/net/pf.c
7249
if (ifp != NULL && ifp->if_type == IFT_CARP &&
sys/net/pf.c
8293
if (ifp->if_type == IFT_CARP) {
sys/net/pipex.c
930
if (ifp->if_bpf && ifp->if_type == IFT_PPP)
sys/netinet/if_ether.c
238
satosdl(gate)->sdl_type = ifp->if_type;
sys/netinet/if_ether.c
640
if (target && op == ARPOP_REQUEST && ifp->if_type == IFT_CARP &&
sys/netinet/if_ether.c
719
if (ifp->if_type != IFT_CARP)
sys/netinet/ip_carp.c
1009
if (ifp->if_type != IFT_CARP)
sys/netinet/ip_carp.c
1349
KASSERT(ifp0->if_type == IFT_ETHER);
sys/netinet/ip_carp.c
1388
KASSERT(ifp0->if_type == IFT_ETHER);
sys/netinet/ip_carp.c
1452
if (ifp->if_type != IFT_CARP)
sys/netinet/ip_carp.c
1661
if (ifp0->if_type != IFT_ETHER)
sys/netinet/ip_carp.c
2431
if (ifp->if_type == IFT_CARP) {
sys/netinet/ip_carp.c
454
switch (ifp->if_type) {
sys/netinet/ip_carp.c
552
if (ifp->if_type != IFT_CARP) {
sys/netinet/ip_carp.c
608
if (ifp->if_type == IFT_CARP) {
sys/netinet/ip_carp.c
831
ifp->if_type = IFT_CARP;
sys/netinet/ip_carp.h
204
return ((ifp_a->if_type == IFT_CARP &&
sys/netinet/ip_carp.h
206
(ifp_b->if_type == IFT_CARP &&
sys/netinet/ip_carp.h
208
(ifp_a->if_type == IFT_CARP && ifp_b->if_type == IFT_CARP &&
sys/netinet/ip_input.c
923
!((ifp->if_flags & IFF_LOOPBACK) || (ifp->if_type == IFT_ENC) ||
sys/netinet/ip_ipip.c
308
if (ifp->if_type == IFT_GIF && ifp->if_bpf != NULL)
sys/netinet6/in6.c
1392
if (ifp->if_type == IFT_CARP && !carp_iamatch(ifp))
sys/netinet6/in6.c
1534
if (ifp->if_type == IFT_CARP &&
sys/netinet6/in6.c
1535
oifp->if_type != IFT_CARP)
sys/netinet6/in6.c
1608
switch (ifp->if_type) {
sys/netinet6/in6.c
967
if ((ifacount <= 1 || ifp->if_type == IFT_CARP ||
sys/netinet6/in6_ifattach.c
109
switch (ifp->if_type) {
sys/netinet6/in6_ifattach.c
121
switch (ifp->if_type) {
sys/netinet6/in6_ifattach.c
345
switch (ifp->if_type) {
sys/netinet6/in6_ifattach.c
377
switch (ifp->if_type) {
sys/netinet6/ip6_input.c
545
(ifp->if_type == IFT_ENC) ||
sys/netinet6/nd6.c
1372
switch (ifp->if_type) {
sys/netinet6/nd6.c
773
satosdl(gate)->sdl_type = ifp->if_type;
sys/netinet6/nd6_nbr.c
198
if (ifp->if_type == IFT_CARP && ifa && !carp_iamatch(ifp))
sys/netinet6/nd6_nbr.c
607
if (ifp->if_type == IFT_CARP && !carp_iamatch(ifp))
sys/netinet6/nd6_nbr.c
835
if (ifp->if_type == IFT_CARP && !carp_iamatch(ifp))
sys/netinet6/nd6_nbr.c
968
switch (ifp->if_type) {
usr.sbin/bgpd/kroute.c
109
uint8_t if_type;
usr.sbin/bgpd/kroute.c
2121
if (kif->if_type == IFT_CARP &&
usr.sbin/bgpd/kroute.c
2514
ift2ifm(uint8_t if_type)
usr.sbin/bgpd/kroute.c
2516
switch (if_type) {
usr.sbin/bgpd/kroute.c
2543
get_linkstate(uint8_t if_type, int link_state)
usr.sbin/bgpd/kroute.c
2549
if (LINK_STATE_DESC_MATCH(p, if_type, link_state))
usr.sbin/bgpd/kroute.c
2596
kif->if_type = ifd->ifi_type;
usr.sbin/bgpd/kroute.c
2956
kif->if_type = ifm.ifm_data.ifi_type;
usr.sbin/bgpd/kroute.c
874
"%s", get_linkstate(kif->if_type, kif->link_state));
usr.sbin/bgpd/kroute.c
876
if ((ifms_type = ift2ifm(kif->if_type)) != 0)
usr.sbin/dvmrpctl/dvmrpctl.c
276
get_linkstate(iface->if_type, iface->linkstate),
usr.sbin/dvmrpctl/dvmrpctl.c
307
get_linkstate(iface->if_type, iface->linkstate));
usr.sbin/dvmrpctl/dvmrpctl.c
650
get_linkstate(uint8_t if_type, int link_state)
usr.sbin/dvmrpctl/dvmrpctl.c
656
if (LINK_STATE_DESC_MATCH(p, if_type, link_state))
usr.sbin/dvmrpd/dvmrpd.h
225
u_int8_t if_type;
usr.sbin/dvmrpd/dvmrpd.h
261
u_int8_t if_type;
usr.sbin/dvmrpd/dvmrpd.h
307
u_int8_t if_type;
usr.sbin/dvmrpd/interface.c
200
iface->if_type = kif->if_type;
usr.sbin/dvmrpd/interface.c
675
ictl.if_type = iface->if_type;
usr.sbin/dvmrpd/kroute.c
240
kif->k.if_type = ifd->ifi_type;
usr.sbin/dvmrpd/kroute.c
349
kif->k.if_type = ifm.ifm_data.ifi_type;
usr.sbin/eigrpctl/eigrpctl.c
282
get_ifms_type(uint8_t if_type)
usr.sbin/eigrpctl/eigrpctl.c
284
switch (if_type) {
usr.sbin/eigrpctl/eigrpctl.c
324
printf(" %-10s %-8s %3u\n", get_linkstate(iface->if_type,
usr.sbin/eigrpctl/eigrpctl.c
364
get_linkstate(iface->if_type, iface->linkstate),
usr.sbin/eigrpctl/eigrpctl.c
759
get_linkstate(uint8_t if_type, int link_state)
usr.sbin/eigrpctl/eigrpctl.c
765
if (LINK_STATE_DESC_MATCH(p, if_type, link_state))
usr.sbin/eigrpctl/eigrpctl.c
798
ifms_type = get_ifms_type(k->if_type);
usr.sbin/eigrpctl/eigrpctl.c
802
printf("%s", get_linkstate(k->if_type, k->link_state));
usr.sbin/eigrpd/eigrpd.h
167
uint8_t if_type;
usr.sbin/eigrpd/eigrpd.h
363
uint8_t if_type;
usr.sbin/eigrpd/eigrpd.h
380
uint8_t if_type;
usr.sbin/eigrpd/interface.c
502
ictl.if_type = ei->iface->if_type;
usr.sbin/eigrpd/interface.c
88
iface->if_type = kif->if_type;
usr.sbin/eigrpd/kroute.c
736
kif->k.if_type = ifd->ifi_type;
usr.sbin/ldpctl/ldpctl.c
270
get_ifms_type(uint8_t if_type)
usr.sbin/ldpctl/ldpctl.c
272
switch (if_type) {
usr.sbin/ldpctl/ldpctl.c
346
if_state_name(iface->state), get_linkstate(iface->if_type,
usr.sbin/ldpctl/ldpctl.c
559
ifms_type = get_ifms_type(k->if_type);
usr.sbin/ldpctl/ldpctl.c
563
printf("%s", get_linkstate(k->if_type, k->link_state));
usr.sbin/ldpctl/ldpctl.c
660
get_linkstate(uint8_t if_type, int link_state)
usr.sbin/ldpctl/ldpctl.c
666
if (LINK_STATE_DESC_MATCH(p, if_type, link_state))
usr.sbin/ldpd/interface.c
419
ictl.if_type = ia->iface->if_type;
usr.sbin/ldpd/interface.c
67
iface->if_type = kif->if_type;
usr.sbin/ldpd/kroute.c
878
kif->k.if_type = ifd->ifi_type;
usr.sbin/ldpd/ldpd.h
282
uint8_t if_type;
usr.sbin/ldpd/ldpd.h
481
uint8_t if_type;
usr.sbin/ldpd/ldpd.h
494
uint8_t if_type;
usr.sbin/ldpd/parse.y
1444
if (kif->if_type == IFT_LOOP ||
usr.sbin/ldpd/parse.y
1445
kif->if_type == IFT_CARP ||
usr.sbin/ldpd/parse.y
1446
kif->if_type == IFT_BRIDGE ||
usr.sbin/ldpd/parse.y
1447
kif->if_type == IFT_MPLSTUNNEL) {
usr.sbin/ldpd/parse.y
1527
if (kif->if_type == IFT_LOOP ||
usr.sbin/ldpd/parse.y
1528
kif->if_type == IFT_CARP ||
usr.sbin/ldpd/parse.y
1529
kif->if_type == IFT_BRIDGE ||
usr.sbin/ldpd/parse.y
1530
kif->if_type == IFT_MPLSTUNNEL) {
usr.sbin/ldpd/parse.y
618
if (kif->if_type != IFT_MPLSTUNNEL &&
usr.sbin/ldpd/parse.y
712
if (kif->if_type != IFT_BRIDGE) {
usr.sbin/ospf6ctl/ospf6ctl.c
1346
get_linkstate(uint8_t if_type, int link_state)
usr.sbin/ospf6ctl/ospf6ctl.c
1352
if (LINK_STATE_DESC_MATCH(p, if_type, link_state))
usr.sbin/ospf6ctl/ospf6ctl.c
367
get_ifms_type(uint8_t if_type)
usr.sbin/ospf6ctl/ospf6ctl.c
369
switch (if_type) {
usr.sbin/ospf6ctl/ospf6ctl.c
399
get_linkstate(iface->if_type, iface->linkstate),
usr.sbin/ospf6ctl/ospf6ctl.c
427
get_media_descr(get_ifms_type(iface->if_type)),
usr.sbin/ospf6ctl/ospf6ctl.c
428
get_linkstate(iface->if_type, iface->linkstate),
usr.sbin/ospf6d/interface.c
242
iface->if_type = type;
usr.sbin/ospf6d/interface.c
378
if (iface->if_type == IFT_CARP &&
usr.sbin/ospf6d/interface.c
680
ictl.if_type = iface->if_type;
usr.sbin/ospf6d/ospf6d.c
819
i->if_type = xi->if_type; /* needed? */
usr.sbin/ospf6d/ospf6d.c
852
if (iface->if_type == IFT_CARP &&
usr.sbin/ospf6d/ospf6d.h
328
u_int8_t if_type;
usr.sbin/ospf6d/ospf6d.h
448
u_int8_t if_type;
usr.sbin/ospf6d/ospfe.c
316
if_update(iface, ifp->mtu, ifp->flags, ifp->if_type,
usr.sbin/ospf6d/rde.c
1505
!(iface->if_type == IFT_CARP))
usr.sbin/ospf6d/rde.c
1510
if (iface->if_type == IFT_CARP &&
usr.sbin/ospf6d/rde.c
1551
} else if ((iface->if_type == IFT_CARP &&
usr.sbin/ospf6d/rde.c
727
if_update(iface, ifp->mtu, ifp->flags, ifp->if_type,
usr.sbin/ospfctl/ospfctl.c
345
get_ifms_type(uint8_t if_type)
usr.sbin/ospfctl/ospfctl.c
347
switch (if_type) {
usr.sbin/ospfctl/ospfctl.c
549
get_linkstate(uint8_t if_type, int link_state)
usr.sbin/ospfctl/ospfctl.c
555
if (LINK_STATE_DESC_MATCH(p, if_type, link_state))
usr.sbin/ospfctl/output.c
168
get_linkstate(iface->if_type, iface->linkstate));
usr.sbin/ospfctl/output.c
232
get_linkstate(iface->if_type, iface->linkstate),
usr.sbin/ospfctl/output.c
407
ifms_type = get_ifms_type(k->if_type);
usr.sbin/ospfctl/output.c
411
printf("%s", get_linkstate(k->if_type, k->link_state));
usr.sbin/ospfd/interface.c
204
iface->if_type = kif->if_type;
usr.sbin/ospfd/interface.c
329
!(iface->if_type == IFT_CARP &&
usr.sbin/ospfd/interface.c
333
if (iface->if_type == IFT_CARP && iface->passive == 0) {
usr.sbin/ospfd/interface.c
628
ictl.if_type = iface->if_type;
usr.sbin/ospfd/kroute.c
930
kif->k.if_type = ifd->ifi_type;
usr.sbin/ospfd/ospfd.c
893
i->if_type = xi->if_type; /* needed? */
usr.sbin/ospfd/ospfd.c
944
if (kif->if_type == IFT_CARP &&
usr.sbin/ospfd/ospfd.h
362
u_int8_t if_type;
usr.sbin/ospfd/ospfd.h
439
u_int8_t if_type;
usr.sbin/ospfd/ospfd.h
484
u_int8_t if_type;
usr.sbin/ospfd/ospfe.c
957
!(iface->if_type == IFT_CARP &&
usr.sbin/ospfd/ospfe.c
974
if (iface->if_type == IFT_CARP &&
usr.sbin/ripctl/ripctl.c
241
get_ifms_type(uint8_t if_type)
usr.sbin/ripctl/ripctl.c
243
switch (if_type) {
usr.sbin/ripctl/ripctl.c
324
get_linkstate(iface->if_type, iface->linkstate),
usr.sbin/ripctl/ripctl.c
472
ifms_type = get_ifms_type(k->if_type);
usr.sbin/ripctl/ripctl.c
476
printf("%s", get_linkstate(k->if_type, k->link_state));
usr.sbin/ripctl/ripctl.c
512
get_linkstate(uint8_t if_type, int link_state)
usr.sbin/ripctl/ripctl.c
518
if (LINK_STATE_DESC_MATCH(p, if_type, link_state))
usr.sbin/ripd/interface.c
428
iface->if_type = kif->if_type;
usr.sbin/ripd/interface.c
493
ictl.if_type = iface->if_type;
usr.sbin/ripd/kroute.c
667
kif->k.if_type = ifd->ifi_type;
usr.sbin/ripd/kroute.c
996
kif->k.if_type = ifm.ifm_data.ifi_type;
usr.sbin/ripd/ripd.h
185
u_int8_t if_type;
usr.sbin/ripd/ripd.h
259
u_int8_t if_type;
usr.sbin/ripd/ripd.h
282
u_int8_t if_type;