Lines Matching defs:ipif

141 	ipif_t 		ipif;
212 static int ipif(uintptr_t, uint_t, int, const mdb_arg_t *);
1907 { "ipif", "?[-v] [-P v4 | v6]", "display ipif structures",
1908 ipif, ipif_help },
1937 { "ipif", "walk list of ipif structures for all stacks",
1939 { "ipif_list", "walk the linked list of ipif structures "
2780 ipif_t ipif;
2782 if (mdb_vread(&ipif, sizeof (ipif_t), (uintptr_t)addr) == -1) {
2783 mdb_warn("failed to read ipif at %p", addr);
2787 (uintptr_t)ipif.ipif_ill) == -1) {
2788 mdb_warn("failed to read ill at %p", ipif.ipif_ill);
2791 (void) ipif_format((uintptr_t)addr, &ipif, id);
2847 const ipif_t *ipif = ipifptr;
2893 if (ipif->ipif_id != 0) {
2895 ill_name, ipif->ipif_id);
2900 ipif->ipif_addr_ready ? ",ADR" : "",
2901 ipif->ipif_was_up ? ",WU" : "",
2902 ipif->ipif_was_dup ? ",WD" : "");
2904 ipif->ipif_flags, fmasks, bitfields);
2906 ipif->ipif_state_flags, sfmasks);
2908 cnt = ipif->ipif_refcnt;
2912 &ipif->ipif_v6lcl_addr);
2916 V4_PART_OF_V6((ipif->ipif_v6lcl_addr)));
2922 addr, buf, cnt, ipif->ipif_ill,
2928 sbuf, sbuf, ipif->ipif_refcnt, "ipif_refcnt");
2930 addrstr, mask_to_prefixlen(af, &ipif->ipif_v6net_mask));
2932 mdb_printf("%-N\n", &ipif->ipif_v6brd_addr);
2935 V4_PART_OF_V6((ipif->ipif_v6brd_addr)));
2939 addr, buf, cnt, ipif->ipif_ill,
2942 addrstr, mask_to_prefixlen(af, &ipif->ipif_v6net_mask));
2949 ipif(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
2951 ipif_t ipif;
2977 if (mdb_vread(&ipif, sizeof (ipif_t), addr) == -1) {
2978 mdb_warn("failed to read ipif at %p\n", addr);
2983 (uintptr_t)ipif.ipif_ill) == -1) {
2984 mdb_warn("failed to read ill at %p", ipif.ipif_ill);
2987 return (ipif_format(addr, &ipif, &id));
2990 if (mdb_walk("ipif", (mdb_walk_cb_t)ipif_cb, &id) == -1) {
3001 mdb_printf("Prints the following fields: ipif ptr, name, "
3002 "count, ill ptr, state flags and ipif flags.\n"
3015 "\tfilter ipif structures on ills for the specified protocol\n");