Home
last modified time | relevance | path

Searched refs:if_index (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/usb/usba/
H A Dusba_private.h116 uint_t if_index,
129 uint_t if_index,
177 uint_t if_index,
189 uint_t if_index,
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dinterface_id.c307 interface_entry[physinterf_num].if_index = in if_nameindex()
310 if (interface_entry[physinterf_num].if_index == 0) { in if_nameindex()
337 interface_entry[physinterf_num].if_index = 0; in if_nameindex()
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifierddi.c459 pkt.if_index = ipmp_ill_get_ipmp_ifindex(ill); in ipgpc_invoke_action()
461 pkt.if_index = ill->ill_phyint->phyint_ifindex; in ipgpc_invoke_action()
466 pkt.if_index = IPGPC_UNSPECIFIED; in ipgpc_invoke_action()
H A Dclassifier.h72 uint_t if_index; /* interface index */ member
H A Dclassifier.c91 ipgpc_findfilters(IPGPC_TABLE_IF, packet->if_index, fid_table); in common_classify()
685 pkt->dsfield, pkt->uid, pkt->if_index, in print_packet()
697 pkt->dsfield, pkt->uid, pkt->if_index, in print_packet()
H A Dclassifier-objects.h107 uint_t if_index; /* interface index, " " or 0 for wildcard */ member
H A Dfilters.c625 if (nvlist_lookup_uint32(nvlp, IPGPC_IF_INDEX, &filter->if_index) in ipgpc_parse_filter()
627 filter->if_index = 0; in ipgpc_parse_filter()
1003 fid->filter.if_index) == NORMAL_VALUE) { in common_addfilter()
1405 fid->filter.if_index); in common_removefilter()
2301 if (in_filter->if_index != IPGPC_UNSPECIFIED) { in build_filter_nvlist()
2303 in_filter->if_index)) != 0) { in build_filter_nvlist()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c121 union any_in_addr *gwIPlist, int gw_cnt, uint_t if_index) in set_ancillary_data() argument
170 if (if_index != 0) { in set_ancillary_data()
242 if (if_index != 0) { in set_ancillary_data()
261 pktinfop->ipi6_ifindex = if_index; in set_ancillary_data()
H A Dtraceroute.c150 static uint_t if_index = 0; /* interface index */ variable
364 if_index = (uint_t)strtol(optarg, &ep, 10); in main()
369 if_index = if_nametoindex((const char *)device); in main()
375 if (if_index == 0 && errno != ENXIO) { in main()
388 device = if_indextoname(if_index, device); in main()
402 if (device == NULL || if_index == 0) { in main()
888 " interface\n", prog, device, if_index, pr->name); in set_src_addr()
1445 if_index); in trace_it()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c91 union any_in_addr *gwIPlist, int gw_cnt, uint_t if_index) in set_ancillary_data() argument
102 if (hoplimit == -1 && gw_cnt == 0 && if_index == 0) in set_ancillary_data()
145 if (if_index != 0) { in set_ancillary_data()
227 if (if_index != 0) { in set_ancillary_data()
246 pktinfop->ipi6_ifindex = if_index; in set_ancillary_data()
H A Dping.c136 static int if_index = 0; /* outgoing interface index */ variable
654 &if_index, &udp_src_port6, ai_nexthop)) in main()
659 if (!setup_socket(AF_INET, &send_sock, &recv_sock, &if_index, in main()
1313 setup_socket(int family, int *send_sockp, int *recv_sockp, int *if_index, in setup_socket() argument
1599 *if_index = my_if->index; in setup_socket()
1885 eff_num_gw, if_index); in send_scheduled_probe()
/illumos-gate/usr/src/uts/common/inet/ipnet/
H A Dipnet.c924 uint64_t index = ipnetif->if_index; in ipnet_join_allmulti()
959 uint64_t index = ipnetif->if_index; in ipnet_leave_allmulti()
1077 uint64_t ifindex = ipnet->ipnet_if->if_index; in ipnet_accept()
1309 ipnetif->if_index = (uint_t)index; in ipnetif_create()
1395 uint64_t phyif = ipnetif->if_index; in ipnet_add_ifaddr()
1873 int64_t index2 = (int64_t)((ipnetif_t *)ipnetifp)->if_index; in ipnetif_compare_index()
2119 *idp = (uint_t)ifp->if_index; in ipnet_get_linkid_byname()
2129 *idp = (uint_t)ifp->if_index; in ipnet_get_linkid_byname()
2366 newif->if_index = ifp->if_index; in ipnetif_clone_create()
/illumos-gate/usr/src/uts/common/inet/
H A Dipnet.h105 uint_t if_index; member
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_util.c80 uint_t if_index, in usb_get_if_descr() argument
89 ddi_node_name(dip), if_index, alt_setting); in usb_get_if_descr()
98 if_index, /* interface index */ in usb_get_if_descr()
134 uint_t if_index, in usb_get_ep_descr() argument
144 ddi_node_name(dip), if_index, alt_setting); in usb_get_ep_descr()
153 if_index, /* interface index */ in usb_get_ep_descr()
/illumos-gate/usr/src/boot/include/net/
H A Dif.h537 unsigned int if_index; /* 1, 2, ... */ member
/illumos-gate/usr/src/uts/common/net/
H A Dif.h712 unsigned if_index; /* positive interface index */ member
/illumos-gate/usr/src/contrib/bhyve/dev/usb/
H A Dusbdi.h236 uint8_t if_index; /* "ifaces" index to use */ member
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h795 # define CACHE_HASH(x) ((((struct ifnet *)fin->fin_ifp)->if_index)&7)
875 # define CACHE_HASH(x) ((((struct ifnet *)fin->fin_ifp)->if_index) & 7)
1016 # define CACHE_HASH(x) ((((struct ifnet *)fin->fin_ifp)->if_index)&7)
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A DREADME.v6827 if_index dhcp_pif_t.pif_index