<--previous | contents | next-->

# udpstats - UDP Protocol

UDP protocol statistics.

## Header Files

- include/netinet/udp_var.h

## Interface

    import openbsd
    n = openbsd.netstat.Netstat()
    print n.udpstats()

## Example Output

The example output below was produced using the building Python pretty-printer. See the netstat parent page for an example of how this is done.

    {   'badlen': 0L,
        'badsum': 0L,
        'fullsock': 0L,
        'hdrops': 0L,
        'inhwcsum': 0L,
        'ipackets': 9192L,
        'noport': 48L,
        'noportbcast': 2388L,
        'nosec': 0L,
        'nosum': 0L,
        'opackets': 6858L,
        'outhwcsum': 0L,
        'pcbhashmiss': 57L}

<--previous | contents | next--> | (12/21/04)

PyOpenbsd v0.1 Manual