Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/sys/usb/usba/
H A Dusba_private.h115 uint_t if_index,
128 uint_t if_index,
176 uint_t if_index,
188 uint_t if_index,
/titanic_41/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()
/titanic_41/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()
/titanic_41/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) in set_ancillary_data() argument
172 if (if_index != 0) { in set_ancillary_data()
244 if (if_index != 0) { in set_ancillary_data()
263 pktinfop->ipi6_ifindex = if_index; in set_ancillary_data()
H A Dtraceroute.c147 static uint_t if_index = 0; /* interface index */ variable
351 if_index = (uint_t)strtol(optarg, &ep, 10); in main()
356 if_index = if_nametoindex((const char *)device); in main()
362 if (if_index == 0 && errno != ENXIO) { in main()
375 device = if_indextoname(if_index, device); in main()
389 if (device == NULL || if_index == 0) { in main()
864 " interface\n", prog, device, if_index, pr->name); in set_src_addr()
1421 if_index); in trace_it()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c89 union any_in_addr *gwIPlist, int gw_cnt, uint_t if_index) in set_ancillary_data() argument
100 if (hoplimit == -1 && gw_cnt == 0 && if_index == 0) in set_ancillary_data()
143 if (if_index != 0) { in set_ancillary_data()
225 if (if_index != 0) { in set_ancillary_data()
244 pktinfop->ipi6_ifindex = if_index; in set_ancillary_data()
H A Dping.c126 static int if_index = 0; /* outgoing interface index */ variable
626 &if_index, &udp_src_port6, ai_nexthop)) in main()
631 if (!setup_socket(AF_INET, &send_sock, &recv_sock, &if_index, in main()
1266 setup_socket(int family, int *send_sockp, int *recv_sockp, int *if_index, in setup_socket() argument
1552 *if_index = my_if->index; in setup_socket()
1815 eff_num_gw, if_index); in send_scheduled_probe()
/titanic_41/usr/src/uts/common/inet/ipnet/
H A Dipnet.c917 uint64_t index = ipnetif->if_index; in ipnet_join_allmulti()
952 uint64_t index = ipnetif->if_index; in ipnet_leave_allmulti()
1070 uint64_t ifindex = ipnet->ipnet_if->if_index; in ipnet_accept()
1302 ipnetif->if_index = (uint_t)index; in ipnetif_create()
1388 uint64_t phyif = ipnetif->if_index; in ipnet_add_ifaddr()
1866 int64_t index2 = (int64_t)((ipnetif_t *)ipnetifp)->if_index; in ipnetif_compare_index()
2112 *idp = (uint_t)ifp->if_index; in ipnet_get_linkid_byname()
2122 *idp = (uint_t)ifp->if_index; in ipnet_get_linkid_byname()
2358 newif->if_index = ifp->if_index; in ipnetif_clone_create()
/titanic_41/usr/src/uts/common/inet/
H A Dipnet.h105 uint_t if_index; member
/titanic_41/usr/src/uts/common/io/usb/usba/
H A Dusbai_util.c79 uint_t if_index, in usb_get_if_descr() argument
88 ddi_node_name(dip), if_index, alt_setting); in usb_get_if_descr()
97 if_index, /* interface index */ in usb_get_if_descr()
133 uint_t if_index, in usb_get_ep_descr() argument
143 ddi_node_name(dip), if_index, alt_setting); in usb_get_ep_descr()
152 if_index, /* interface index */ in usb_get_ep_descr()
/titanic_41/usr/src/uts/common/net/
H A Dif.h712 unsigned if_index; /* positive interface index */ member
/titanic_41/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h790 # define CACHE_HASH(x) ((((struct ifnet *)fin->fin_ifp)->if_index)&7)
870 # define CACHE_HASH(x) ((((struct ifnet *)fin->fin_ifp)->if_index) & 7)
1011 # define CACHE_HASH(x) ((((struct ifnet *)fin->fin_ifp)->if_index)&7)
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A DREADME.v6829 if_index dhcp_pif_t.pif_index