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

##### Macros

    UCHAR             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:  *	@(#)in_systm.h	7.2.1 (2.11BSD GTE) 12/31/93
      13:  */
      14:
      15: /*
      16:  * Miscellaneous internetwork
      17:  * definitions for kernel.
      18:  */
      19:
      20: /*
      21:  * Network types.
      22:  *
      23:  * Internally the system keeps counters in the headers with the bytes
      24:  * swapped so that VAX instructions will work on them.  It reverses
      25:  * the bytes before transmission at each protocol level.  The n_ types
      26:  * represent the types with the bytes in ``high-ender'' order.
      27:  */
      28: typedef u_short n_short;        /* short as received from the net */
      29: typedef u_long  n_long;         /* long as received from the net */
      30:
      31: typedef u_long  n_time;         /* ms since 00:00 GMT, byte rev */
      32:
      33: #ifdef pdp11
      34: #define UCHAR(a)    ((u_int)((a)&0xff))
      35: #endif
      36:
      37: #ifdef SUPERVISOR
      38: n_time  iptime();
      39: #endif

#### Defined macros

UCHAR defined in line 34; used 11 times

- in /usr/src/sys/netimp/if_imp.c line 677, 683
- in /usr/src/sys/netimp/raw_imp.c line 72-73(3)
- in /usr/src/sys/netinet/ip_input.c line 538, 544
- in /usr/src/sys/netinet/ip_output.c line 317, 323
- in /usr/src/sys/netinet/tcp_input.c line 1177, 1183

#### Usage of this include

in_systm.h used 51 times

- in /usr/src/bin/ping/ping.c line 69
- in /usr/src/bin/sysctl/sysctl.c line 49
- in /usr/src/libexec/identd/src/kernel/2.11bsd.c line 35
- in /usr/src/new/crash/inet.c line 19
- in /usr/src/sys/net/if_loop.c line 35
- in /usr/src/sys/net/if_sl.c line 58
- in /usr/src/sys/netimp/if_imp.c line 30
- in /usr/src/sys/netimp/if_imphost.c line 24
- in /usr/src/sys/netimp/raw_imp.c line 22
- in /usr/src/sys/netinet/if_ether.c line 40
- in /usr/src/sys/netinet/in.c line 23
- in /usr/src/sys/netinet/in_pcb.c line 25
- in /usr/src/sys/netinet/in_proto.c line 22
- in /usr/src/sys/netinet/ip_icmp.c line 29
- in /usr/src/sys/netinet/ip_input.c line 30
- in /usr/src/sys/netinet/ip_output.c line 28
- in /usr/src/sys/netinet/raw_ip.c line 28
- in /usr/src/sys/netinet/tcp_debug.c line 36
- in /usr/src/sys/netinet/tcp_input.c line 29
- in /usr/src/sys/netinet/tcp_output.c line 28
- in /usr/src/sys/netinet/tcp_subr.c line 29
- in /usr/src/sys/netinet/tcp_timer.c line 29
- in /usr/src/sys/netinet/tcp_usrreq.c line 30
- in /usr/src/sys/netinet/udp_usrreq.c line 29
- in /usr/src/sys/netns/ns_ip.c line 34
- in /usr/src/sys/pdp/in_cksum.c line 15
- in /usr/src/sys/pdpif/if_acc.c line 31
- in /usr/src/sys/pdpif/if_css.c line 51
- in /usr/src/sys/pdpif/if_de.h line 14
- in /usr/src/sys/pdpif/if_dmc.c line 32
- in /usr/src/sys/pdpif/if_ec.c line 66
- in /usr/src/sys/pdpif/if_en.c line 26
- in /usr/src/sys/pdpif/if_il.c line 52
- in /usr/src/sys/pdpif/if_qe.c line 131
- in /usr/src/sys/pdpif/if_qt.c line 78
- in /usr/src/sys/pdpif/if_sri.c line 25
- in /usr/src/sys/pdpif/if_uba.c line 27
- in /usr/src/sys/pdpif/if_vv.c line 64
- in /usr/src/sys/sys/uipc_syscalls.c line 28
- in /usr/src/ucb/PORT/systat/netcmds.c line 23
- in /usr/src/ucb/PORT/systat/netstat.c line 22
- in /usr/src/ucb/netstat/inet.c line 30
- in /usr/src/usr.sbin/ntp/ntp.c line 94
- in /usr/src/usr.sbin/ntp/ntp_adjust.c line 75
- in /usr/src/usr.sbin/ntp/ntp_proto.c line 128
- in /usr/src/usr.sbin/ntp/ntpd.c line 111
- in /usr/src/usr.sbin/ntp/test.c line 53
- in /usr/src/usr.sbin/timed/cmds.c line 12
- in /usr/src/usr.sbin/timed/measure.c line 13
- in /usr/src/usr.sbin/traceroute/traceroute.c line 202
- in /usr/src/usr.sbin/trpt/trpt.c line 30

Last modified: 1994-01-11 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1344 |