summaryrefslogtreecommitdiffstats
path: root/sbin/atm
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-03-26 03:41:12 +0000
committermdodd <mdodd@FreeBSD.org>2003-03-26 03:41:12 +0000
commite83d116ac9c75acdc5e784978e799e942dc57d96 (patch)
tree6fb8b601345a8842e93397502ccfa8881e0adc76 /sbin/atm
parent0464bc43586086fa762023d6fd08d9bc92742b3d (diff)
downloadFreeBSD-src-e83d116ac9c75acdc5e784978e799e942dc57d96.zip
FreeBSD-src-e83d116ac9c75acdc5e784978e799e942dc57d96.tar.gz
Retire set_reqid(), unused since 1.2.
Diffstat (limited to 'sbin/atm')
-rw-r--r--sbin/atm/ilmid/ilmid.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/sbin/atm/ilmid/ilmid.c b/sbin/atm/ilmid/ilmid.c
index fb025e2..c69a85a 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:
OpenPOWER on IntegriCloud