From 6410552316016c539531b28ecf9947cd4ddfb553 Mon Sep 17 00:00:00 2001 From: "Matthew N. Dodd" Date: Wed, 26 Mar 2003 03:41:12 +0000 Subject: [PATCH] Retire set_reqid(), unused since 1.2. --- sbin/atm/ilmid/ilmid.c | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/sbin/atm/ilmid/ilmid.c b/sbin/atm/ilmid/ilmid.c index fb025e2c82ee..c69a85ad6075 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 ); @@ -1487,38 +1486,6 @@ print_pdu(dir, intf, Hdr, len, buf) return; } -/* - * 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 *