# 2.11BSD#431 - /usr/src/sys/netinet/udp.h

##### struct's

    udphdr            X

       1: /*
       2:  * Copyright (c) 1982, 1986 Regents of the University of California.
       3:  * All rights reserved.
       4:  *
       5:  * Redistribution and use in source and binary forms are permitted
       6:  * provided that this notice is preserved and that due credit is given
       7:  * to the University of California at Berkeley. The name of the University
       8:  * may not be used to endorse or promote products derived from this
       9:  * software without specific prior written permission. This software
      10:  * is provided ``as is'' without express or implied warranty.
      11:  *
      12:  *	@(#)udp.h	7.2 (Berkeley) 12/7/87
      13:  */
      14:
      15: /*
      16:  * Udp protocol header.
      17:  * Per RFC 768, September, 1981.
      18:  */
      19: struct udphdr {
      20:     u_short uh_sport;       /* source port */
      21:     u_short uh_dport;       /* destination port */
      22:     short   uh_ulen;        /* udp length */
      23:     u_short uh_sum;         /* udp checksum */
      24: };

#### Defined struct's

udphdr defined in line 19; used 14 times

- in /usr/src/sys/netinet/udp_usrreq.c line 179(2), 186(2), 246(2)
- in /usr/src/usr.sbin/traceroute/traceroute.c line 236(2), 548(2), 639-643(4)

#### Usage of this include

udp.h used 13 times

- in /usr/src/bin/sysctl/sysctl.c line 54
- in /usr/src/new/crash/dispnet.c line 39
- in /usr/src/new/crash/inet.c line 33
- in /usr/src/sys/netinet/udp_usrreq.c line 33
- in /usr/src/ucb/PORT/systat/netstat.c line 36
- in /usr/src/ucb/netstat/inet.c line 44
- in /usr/src/usr.sbin/ntp/ntp.c line 96
- in /usr/src/usr.sbin/ntp/ntp_adjust.c line 77
- in /usr/src/usr.sbin/ntp/ntp_proto.c line 130
- in /usr/src/usr.sbin/ntp/ntpd.c line 113
- in /usr/src/usr.sbin/ntp/ntpdc.c line 86
- in /usr/src/usr.sbin/ntp/test.c line 55
- in /usr/src/usr.sbin/traceroute/traceroute.c line 206

Last modified: 1988-04-28 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1069 |