diff options
| author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-03-26 03:41:12 +0000 |
|---|---|---|
| committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-03-26 03:41:12 +0000 |
| commit | 6410552316016c539531b28ecf9947cd4ddfb553 (patch) | |
| tree | 6fb8b601345a8842e93397502ccfa8881e0adc76 /sbin | |
| parent | 87b6469f1e0fdfd477ae28ce25a61befb6d0c994 (diff) | |
Notes
Diffstat (limited to 'sbin')
| -rw-r--r-- | sbin/atm/ilmid/ilmid.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/sbin/atm/ilmid/ilmid.c b/sbin/atm/ilmid/ilmid.c index fb025e2c82eee..c69a85ad60753 100644 --- a/sbin/atm/ilmid/ilmid.c +++ b/sbin/atm/ilmid/ilmid.c @@ -358,7 +358,6 @@ char hostname[80]; #define LOG_FILE "/var/log/ilmid" FILE *Log; /* File descriptor for log messages */ -void set_reqid( u_char *, int ); void Increment_DL( int ); void Decrement_DL( int ); @@ -1488,38 +1487,6 @@ print_pdu(dir, intf, Hdr, len, buf) } /* - * Set Request ID in PDU - * - * Arguments: - * resp - Response PDU buffer - * reqid - request id value - * - * Returns: - * none - request id may/may not be set - * - */ -void -set_reqid ( resp, reqid ) - u_char *resp; - int reqid; -{ - u_char *bp = (u_char *)&resp[18]; - union { - int i; - u_char c[4]; - } u; - - u.i = htonl(reqid); - - /* - * Replace the current Request ID with the supplied value - */ - bcopy ( (caddr_t)&u.c[4-resp[17]], bp, resp[17] ); - - return; -} - -/* * Send a generic response packet * * Arguments: |
