Searched defs:if_index (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.h72 uint_t if_index; /* interface index */ member in struct:ipgpc_packet_s
H A Dclassifier-objects.h107 uint_t if_index; /* interface index, " " or 0 for wildcard */ member in struct:ipgpc_filter_s
/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)
102 if (hoplimit == -1 && gw_cnt == 0 && if_index == 0)
145 if (if_index != 0) {
227 if (if_index != 0) {
246 pktinfop->ipi6_ifindex = if_index;
90 set_ancillary_data(struct msghdr *msgp, int hoplimit, union any_in_addr *gwIPlist, int gw_cnt, uint_t if_index) argument
H A Dping.c135 static int if_index = 0; /* outgoing interface index */ variable
654 &if_index, &udp_src_port6, ai_nexthop))
659 if (!setup_socket(AF_INET, &send_sock, &recv_sock, &if_index,
1313 setup_socket(int family, int *send_sockp, int *recv_sockp, int *if_index, argument
1599 *if_index = my_if->index;
1885 eff_num_gw, if_index);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c123 union any_in_addr *gwIPlist, int gw_cnt, uint_t if_index)
172 if (if_index != 0) {
244 if (if_index != 0) {
263 pktinfop->ipi6_ifindex = if_index;
122 set_ancillary_data(struct msghdr *msgp, int hoplimit, union any_in_addr *gwIPlist, int gw_cnt, uint_t if_index) argument
H A Dtraceroute.c147 static uint_t if_index = 0; /* interface index */ variable
351 if_index = (uint_t)strtol(optarg, &ep, 10);
356 if_index = if_nametoindex((const char *)device);
362 if (if_index == 0 && errno != ENXIO) {
375 device = if_indextoname(if_index, device);
389 if (device == NULL || if_index == 0) {
864 " interface\n", prog, device, if_index, pr->name);
1421 if_index);
/illumos-gate/usr/src/uts/common/inet/
H A Dipnet.h105 uint_t if_index; member in struct:ipnetif
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_util.c68 * if_index - interface index
79 uint_t if_index,
88 ddi_node_name(dip), if_index, alt_setting);
97 if_index, /* interface index */
121 * if_index - interface index
133 uint_t if_index,
143 ddi_node_name(dip), if_index, alt_setting);
152 if_index, /* interface index */
78 usb_get_if_descr(dev_info_t *dip, uint_t if_index, uint_t alt_setting, usb_if_descr_t *descr) argument
132 usb_get_ep_descr(dev_info_t *dip, uint_t if_index, uint_t alt_setting, uint_t endpoint_index, usb_ep_descr_t *descr) argument
/illumos-gate/usr/src/boot/include/net/
H A Dif.h289 u_short _ifm_spare1; /* spare space to grow if_index, see if_var.h */
329 u_short _ifam_spare1; /* spare space to grow if_index, see if_var.h */
537 unsigned int if_index; /* 1, 2, ... */ member in struct:if_nameindex
/illumos-gate/usr/src/uts/common/net/
H A Dif.h712 unsigned if_index; /* positive interface index */ member in struct:if_nameindex

Completed in 72 milliseconds