Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Namespace

UDP

Public Namespace
std.os.linux.UDP
pub const UDP = struct

Values

  • pub const CORK

    Never send partially complete segments

  • pub const ENCAP

    Set the socket to accept encapsulated packets

  • pub const NO_CHECK6_TX

    Disable sending checksum for UDP6X

  • pub const NO_CHECK6_RX

    Disable accepting checksum for UDP6

  • pub const SEGMENT

    Set GSO segmentation size

  • pub const GRO

    This socket can receive UDP GRO packets

File

os/linux.zig:4809
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
pub const UDP = struct {
    /// Never send partially complete segments
    pub const CORK = 1;
    /// Set the socket to accept encapsulated packets
    pub const ENCAP = 100;
    /// Disable sending checksum for UDP6X
    pub const NO_CHECK6_TX = 101;
    /// Disable accepting checksum for UDP6
    pub const NO_CHECK6_RX = 102;
    /// Set GSO segmentation size
    pub const SEGMENT = 103;
    /// This socket can receive UDP GRO packets
    pub const GRO = 104;
}