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

sock: Introduction of new application layer API #5758

Merged
merged 19 commits into from
Sep 27, 2016

Commits on Aug 18, 2016

  1. sock: Introduction of new application layer API

    This introduces a new alternative and better API to `conn`. It differs in the
    following aspects:
    
    * a common address type for both IPv4 and IPv6 addresses is introduced
    * communication end-points are abstracted as end-point types `sock_x_ep_t`,
      containing the address, its family, its port (if required for protocol) and
      the interface identifier.
    * All functions require some kind of state. Sending of datagrams to the same
      source or replying to incoming datagrams is thus simplified
    * TCP connection establishment was overall reworked: connected sockets and
      listening sockets are now two distinct types. An accept on a listening socket
      than yields a connected socket
    miri64 committed Aug 18, 2016
    Configuration menu
    Copy the full SHA
    7ef177a View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2016

  1. Configuration menu
    Copy the full SHA
    b71c2f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    44af876 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f06def View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    01b0975 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b24d9de View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bb7736a View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2016

  1. fixup! sock: Introduction of new application layer API

    Fix wrongly typedef'd endpoint
    miri64 committed Aug 20, 2016
    Configuration menu
    Copy the full SHA
    a4fd05c View commit details
    Browse the repository at this point in the history
  2. fixup! sock: Introduction of new application layer API

    Don't use netif parameter for static IP end-point initializers
    miri64 committed Aug 20, 2016
    Configuration menu
    Copy the full SHA
    278f046 View commit details
    Browse the repository at this point in the history
  3. fixup! sock: Introduction of new application layer API

    Reword confusing out-parameter doc in create functions
    miri64 committed Aug 20, 2016
    Configuration menu
    Copy the full SHA
    a41bc13 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2016

  1. fixup! sock: Introduction of new application layer API

    Fix some typedefs
    miri64 committed Aug 22, 2016
    Configuration menu
    Copy the full SHA
    1f74eae View commit details
    Browse the repository at this point in the history
  2. fixup! sock: Introduction of new application layer API

    Simplify static intializers.
    miri64 committed Aug 22, 2016
    Configuration menu
    Copy the full SHA
    877cad9 View commit details
    Browse the repository at this point in the history
  3. fixup! sock: Introduction of new application layer API

    Fix inheritence of _sock_tl_ep.
    miri64 committed Aug 22, 2016
    Configuration menu
    Copy the full SHA
    26ee724 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2016

  1. fixup! sock: Introduction of new application layer API

    Add `-ECONNABORT` return for sock_tcp_read and sock_tcp_write.
    miri64 committed Aug 24, 2016
    Configuration menu
    Copy the full SHA
    777c8f7 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2016

  1. fixup! sock: Introduction of new application layer API

    sock_tcp: more error code specifications and fixes
    miri64 committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    002be06 View commit details
    Browse the repository at this point in the history
  2. fixup! sock: Introduction of new application layer API

    sock_ip: Provide proto parameter to send in case sock == NULL.
    miri64 committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    ce205af View commit details
    Browse the repository at this point in the history
  3. fixup! sock: Introduction of new application layer API

    Fix some typos
    miri64 committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    73861e2 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2016

  1. fixup! sock: Introduction of new application layer API

    Include missing header
    miri64 committed Sep 2, 2016
    Configuration menu
    Copy the full SHA
    d17ef91 View commit details
    Browse the repository at this point in the history
  2. fixup! sock: Introduction of new application layer API

    Add more error classes
    miri64 committed Sep 2, 2016
    Configuration menu
    Copy the full SHA
    09703e1 View commit details
    Browse the repository at this point in the history