Skip to content

Instantly share code, notes, and snippets.

@dalehamel
Created November 15, 2018 05:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalehamel/958098d3cf3f0a2a7ee76e34d10a8514 to your computer and use it in GitHub Desktop.
Save dalehamel/958098d3cf3f0a2a7ee76e34d10a8514 to your computer and use it in GitHub Desktop.
offsets output
Parent: union sock_common pc: gpc: sock_common ggpc: definitions.h ident: skc_addrpair
Parsed: sock_common ident: skc_addrpair ptype: union sock_common::(anonymous at include/net/sock.h:155:2) offset: 0
Parent: struct sock_common pc: gpc: ggpc: sock_common ident: skc_daddr
Parsed: sock_common ident: skc_daddr ptype: struct sock_common::(anonymous at include/net/sock.h:157:3) offset: 0
Parent: struct sock_common pc: gpc: ggpc: sock_common ident: skc_rcv_saddr
Parsed: sock_common ident: skc_rcv_saddr ptype: struct sock_common::(anonymous at include/net/sock.h:157:3) offset: 4
Parent: union sock_common pc: gpc: sock_common ggpc: definitions.h ident: skc_hash
Parsed: sock_common ident: skc_hash ptype: union sock_common::(anonymous at include/net/sock.h:162:2) offset: 0
Parent: union sock_common pc: gpc: sock_common ggpc: definitions.h ident: skc_u16hashes
Parsed: sock_common ident: skc_u16hashes ptype: union sock_common::(anonymous at include/net/sock.h:162:2) offset: 0
Parent: union sock_common pc: gpc: sock_common ggpc: definitions.h ident: skc_portpair
Parsed: sock_common ident: skc_portpair ptype: union sock_common::(anonymous at include/net/sock.h:167:2) offset: 0
Parent: struct sock_common pc: gpc: ggpc: sock_common ident: skc_dport
Parsed: sock_common ident: skc_dport ptype: struct sock_common::(anonymous at include/net/sock.h:169:3) offset: 0
Parent: struct sock_common pc: gpc: ggpc: sock_common ident: skc_num
Parsed: sock_common ident: skc_num ptype: struct sock_common::(anonymous at include/net/sock.h:169:3) offset: 2
Parsed: sock_common ident: skc_family ptype: struct sock_common offset: 16
Parsed: sock_common ident: skc_state ptype: struct sock_common offset: 18
Parsed: sock_common ident: skc_reuse ptype: struct sock_common offset: 19
Parsed: sock_common ident: skc_reuseport ptype: struct sock_common offset: 19
Parsed: sock_common ident: skc_ipv6only ptype: struct sock_common offset: 19
Parsed: sock_common ident: skc_net_refcnt ptype: struct sock_common offset: 19
Parsed: sock_common ident: skc_bound_dev_if ptype: struct sock_common offset: 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment