Skip to content

Instantly share code, notes, and snippets.

@danmcd
Created October 2, 2018 15:32
Show Gist options
  • Save danmcd/431c695b33f7dd7e3475857a01cae988 to your computer and use it in GitHub Desktop.
Save danmcd/431c695b33f7dd7e3475857a01cae988 to your computer and use it in GitHub Desktop.
> fffffe5a40bb51e8::ire -v
ADDR SRC TYPE
DST MARKS
STACK ZONE FLAGS INTF
fffffe5a40bb51e8 0.0.0.0 <LOCAL>
172.24.4.142
14 0 <UP> net0
> fffffe5a40bb51e8::print ire_t
{
ire_next = 0
ire_ptpn = 0xfffffe5a76a3f3f0
ire_refcnt = 0x4
ire_ill = 0xfffffe5a6e8bc528
ire_identical_ref = 0x1
ire_ipversion = 0x4
ire_type = 0x4
ire_generation = 0x4
ire_ib_pkt_count = 0x5
ire_ob_pkt_count = 0
ire_create_time = 2018 Oct 2 14:15:08
ire_flags = 0x80001
ire_testhidden = 0 (0)
ire_recvfn = vxlnat_fixed_ire_recv_v4
ire_sendfn = ire_send_local_v4
ire_postfragfn = ip_xmit
ire_masklen = 0x20
ire_u = {
ire6_u = {
ire6_mask = ffff:ffff:ac18:48e::
ire6_addr = ::
ire6_gateway_addr = ::
ire6_setsrc_addr = ::
}
ire4_u = {
ire4_mask = 255.255.255.255
ire4_addr = 172.24.4.142
ire4_gateway_addr = 0.0.0.0
ire4_setsrc_addr = 0.0.0.0
}
}
ire_bucket = 0xfffffe5a76a3f3f0
ire_lock = {
_opaque = [ 0 ]
}
ire_last_used_time = 0x34f720
ire_gw_secattr = 0
ire_zoneid = 0
ire_nce_cache = 0
ire_nce_capable = 0x1 (B_TRUE)
ire_dep_parent = 0
ire_dep_children = 0
ire_dep_sib_next = 0xfffffe5afefdd808
ire_dep_sib_ptpn = 0
ire_dep_parent_generation = 0
ire_badcnt = 0
ire_last_badcnt = 0
ire_defense_count = 0
ire_defense_time = 0
ire_trace_disable = 0 (0)
ire_ipst = 0xfffffe5a77db2000
ire_metrics = {
iulp_set = 0 (0)
iulp_ssthresh = 0
iulp_rtt = 0
iulp_rtt_sd = 0
iulp_spipe = 0
iulp_rpipe = 0
iulp_rtomax = 0
iulp_sack = 0
iulp_mtu = 0
iulp_tstamp_ok = 0
iulp_wscale_ok = 0
iulp_ecn_ok = 0
iulp_pmtud_ok = 0
iulp_localnet = 0
iulp_loopback = 0
iulp_local = 0
iulp_not_used = 0
}
ire_unbound = 0 (0)
}
> 0xfffffe5afefdd808::print vxlnat_fixed_t
{
vxnf_treenode = {
avl_child = [ 0, 0 ]
avl_pcb = 0x1
}
vxnf_addr = ::ffff:10.21.12.6
vxnf_pubaddr = ::ffff:172.24.4.142
vxnf_vnet = 0xfffffe5b01335130
vxnf_ire = 0xfffffe5a40bb51e8
vxnf_remote = 0xbaddcafebaddcafe
vxnf_refcount = 0x2
}
> 0xfffffe5b01335130::print vxlnat_vnet_t
{
vxnv_treenode = {
avl_child = [ 0, 0 ]
avl_pcb = 0x1
}
vxnv_fixed_lock = {
_opaque = [ 0 ]
}
vxnv_fixed_ips = {
avl_root = 0xfffffe5afefdd808
avl_compar = vxlnat_tree_plus_in6_cmp
avl_offset = 0
avl_numnodes = 0x1
avl_size = 0x58
}
vxnv_flow_lock = {
_opaque = [ 0 ]
}
vxnv_flows = {
avl_root = 0
avl_compar = 0
avl_offset = 0
avl_numnodes = 0
avl_size = 0
}
vxnv_rule_lock = {
_opaque = [ 0 ]
}
vxnv_rules = {
list_size = 0x48
list_offset = 0
list_head = {
list_next = 0xfffffe5b013351c0
list_prev = 0xfffffe5b013351c0
}
}
vxnv_remote_lock = {
_opaque = [ 0 ]
}
vxnv_remotes = {
avl_root = 0
avl_compar = 0
avl_offset = 0
avl_numnodes = 0
avl_size = 0
}
vxnv_refcount = 0x2
vxnv_vnetid = 0x42ec1500
}
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment