podman/vendor/github.com/ishidawataru/sctp
Valentin Rothberg 0f7d54b026 migrate Podman to containers/common/libimage
Migrate the Podman code base over to `common/libimage` which replaces
`libpod/image` and a lot of glue code entirely.

Note that I tried to leave bread crumbs for changed tests.

Miscellaneous changes:

 * Some errors yield different messages which required to alter some
   tests.

 * I fixed some pre-existing issues in the code.  Others were marked as
   `//TODO`s to prevent the PR from exploding.

 * The `NamesHistory` of an image is returned as is from the storage.
   Previously, we did some filtering which I think is undesirable.
   Instead we should return the data as stored in the storage.

 * Touched handlers use the ABI interfaces where possible.

 * Local image resolution: previously Podman would match "foo" on
   "myfoo".  This behaviour has been changed and Podman will now
   only match on repository boundaries such that "foo" would match
   "my/foo" but not "myfoo".  I consider the old behaviour to be a
   bug, at the very least an exotic corner case.

 * Futhermore, "foo:none" does *not* resolve to a local image "foo"
   without tag anymore.  It's a hill I am (almost) willing to die on.

 * `image prune` prints the IDs of pruned images.  Previously, in some
   cases, the names were printed instead.  The API clearly states ID,
   so we should stick to it.

 * Compat endpoint image removal with _force_ deletes the entire not
   only the specified tag.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-05-05 11:30:12 +02:00
..
.gitignore Vendor in buildah 1.9.2 2019-07-30 16:48:18 -04:00
.travis.yml migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
go.mod Update to the latest version of buildah 2020-02-19 16:04:00 -05:00
GO_LICENSE Vendor in buildah 1.9.2 2019-07-30 16:48:18 -04:00
ipsock_linux.go Update to the latest version of buildah 2020-02-19 16:04:00 -05:00
LICENSE Vendor in latest Buildah 2019-04-16 15:20:17 -04:00
NOTICE Update to the latest version of buildah 2020-02-19 16:04:00 -05:00
README.md Vendor in latest Buildah 2019-04-16 15:20:17 -04:00
sctp.go Update to the latest version of buildah 2020-02-19 16:04:00 -05:00
sctp_linux.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
sctp_unsupported.go Update to the latest version of buildah 2020-02-19 16:04:00 -05:00

Stream Control Transmission Protocol (SCTP)

Build Status

Examples

See example/sctp.go

$ cd example
$ go build
$ # run example SCTP server
$ ./example -server -port 1000 -ip 10.10.0.1,10.20.0.1
$ # run example SCTP client
$ ./example -port 1000 -ip 10.10.0.1,10.20.0.1