Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe-x86
  • Repository
Switch branch/tag
  • ipipe-x86
  • net
  • sctp
  • socket.c
Find file BlameHistoryPermalink
  • Xin Long's avatar
    sctp: export some apis or variables for sctp_diag and reuse some for proc · 626d16f5
    Xin Long authored Apr 14, 2016
    
    
    For some main variables in sctp.ko, we couldn't export it to other modules,
    so we have to define some api to access them.
    
    It will include sctp transport and endpoint's traversal.
    
    There are some transport traversal functions for sctp_diag, we can also
    use it for sctp_proc. cause they have the similar situation to traversal
    transport.
    
    v2->v3:
    - rhashtable_walk_init need the parameter gfp, because of recent upstrem
      update
    
    Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    626d16f5

Imprint & Privacy Policy