'\" t .\" Title: relay_reset .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: relay interface support .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "RELAY_RESET" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "relay interface support" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" relay_reset \- reset the channel .SH "SYNOPSIS" .HP \w'void\ relay_reset('u .BI "void relay_reset(struct\ rchan\ *\ " "chan" ");" .SH "ARGUMENTS" .PP \fIchan\fR .RS 4 the channel .RE .SH "DESCRIPTION" .PP This has the effect of erasing all data from all channel buffers and restarting the channel in its initial state\&. The buffers are not freed, so any mappings are still in effect\&. .PP NOTE\&. Care should be taken that the channel isn\*(Aqt actually being used by anything when this call is made\&. .SH "COPYRIGHT" .br