Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing API in Manual #318

Open
ibc opened this issue Jun 10, 2019 · 1 comment
Open

Missing API in Manual #318

ibc opened this issue Jun 10, 2019 · 1 comment

Comments

@ibc
Copy link

ibc commented Jun 10, 2019

Manual.md lacks some API calls provided by the lib. Here some of them I'm aware of:

  • usrsctp_register_address()
  • usrsctp_deregister_address()
  • usrsctp_socket() with AF_CONN domain.
  • usrsctp_set_non_blocking()
  • usrsctp_dumppacket()
  • usrsctp_freedumpbuffer()
  • usrsctp_conninput()

Also, the usrsctp_init() is documented with a single argument (udp_port) but there is obvious cases in real world of projects using a 3 args signature:

void usrsctp_init(
  uint16_t udp_port,
  (void *instance, void *buffer, size_t length, uint8_t tos, uint8_t set_df),
  NULL // <-- no idea
)

In addition, the *send_cb argument passed to usrsctp_socket() does not define anywhere what its sb_free parameter means:

int (*send_cb)(struct socket *sock, uint32_t sb_free)
@boomshy
Copy link

boomshy commented Sep 10, 2020

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants