HomeSort by: relevance | last modified time | path
    Searched defs:soopt (Results 1 - 2 of 2) sorted by relevancy

  /src/usr.bin/tftp/
main.c 239 int error, soopt; local in function:setpeer0
286 soopt = 65536;
287 if (setsockopt(f, SOL_SOCKET, SO_SNDBUF, &soopt, sizeof(soopt))
293 else if (setsockopt(f, SOL_SOCKET, SO_RCVBUF, &soopt,
294 sizeof(soopt)) == -1) {
  /src/libexec/tftpd/
tftpd.c 161 int soopt; local in function:main
420 soopt = 1;
421 if (setsockopt(peer, SOL_SOCKET, SO_BROADCAST, (void *) &soopt, sizeof(soopt)) < 0) {
430 soopt = 65536; /* larger than we'll ever need */
431 if (setsockopt(peer, SOL_SOCKET, SO_SNDBUF, (void *) &soopt, sizeof(soopt)) < 0) {
435 if (setsockopt(peer, SOL_SOCKET, SO_RCVBUF, (void *) &soopt, sizeof(soopt)) < 0) {

Completed in 14 milliseconds