Print this page
%B

*** 339,349 **** return (zi_cb.ipst); } /* * Generic network stack walker initialization function. It is used by all ! * other netwrok stack walkers. */ int ns_walk_init(mdb_walk_state_t *wsp) { if (mdb_layered_walk("netstack", wsp) == -1) { --- 339,349 ---- return (zi_cb.ipst); } /* * Generic network stack walker initialization function. It is used by all ! * other network stack walkers. */ int ns_walk_init(mdb_walk_state_t *wsp) { if (mdb_layered_walk("netstack", wsp) == -1) {
*** 372,381 **** --- 372,390 ---- return (wsp->walk_callback(kaddr, wsp->walk_layer, wsp->walk_cbdata)); } /* + * DCCP network stack walker stepping function. + */ + int + dccp_stacks_walk_step(mdb_walk_state_t *wsp) + { + return (ns_walk_step(wsp, NS_DCCP)); + } + + /* * IP network stack walker stepping function. */ int ip_stacks_walk_step(mdb_walk_state_t *wsp) {
*** 1951,1960 **** --- 1960,1971 ---- ire_next_walk_init, ire_next_walk_step, NULL }, { "nce", "walk active nce_t structures", nce_walk_init, nce_walk_step, NULL }, { "dce", "walk active dce_t structures", dce_walk_init, dce_walk_step, NULL }, + { "dccp_stacks", "walk all the dccp_stack_t", + ns_walk_init, dccp_stacks_walk_step, NULL }, { "ip_stacks", "walk all the ip_stack_t", ns_walk_init, ip_stacks_walk_step, NULL }, { "tcp_stacks", "walk all the tcp_stack_t", ns_walk_init, tcp_stacks_walk_step, NULL }, { "sctp_stacks", "walk all the sctp_stack_t",