The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

setfib (2)
  • setfib (1) ( FreeBSD man: Команды и прикладные программы пользовательского уровня )
  • >> setfib (2) ( FreeBSD man: Системные вызовы )

  • BSD mandoc
     

    NAME

    
    
    setfib
    
     - set the default FIB (routing table) for the calling process.
    
     
    

    LIBRARY

    Lb libc
    
     
    

    SYNOPSIS

    int setfib (int fib);
     

    DESCRIPTION

    The setfib ();
    system call sets the associated fib for all sockets opened subsequent to the call, to be that of the argument Fa fib . The Fa fib argument may be between 0 and the current system maximum which may be retrieved by the net.fibs sysctl. The default fib of the process will be applied to all protocol families that support multiple fibs, and ignored by those that do not. The default fib for a process may be overidden for a socket with the use of the SO_SETFIB socket option.  

    RETURN VALUES

    Rv -std setfib  

    ERRORS

    The setfib ();
    system call will fail and no action will be taken and return Er EINVAL if the Fa fib argument is greater than the current system maximum.

     

    SEE ALSO

    setsockopt(2), setfib(8)  

    STANDARDS

    The setfib ();
    system call is a FreeBSD extension however similar extensions have been added to many other UNIX style kernels.  

    HISTORY

    The setfib ();
    function appeared in Fx 8.0 .


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    ERRORS
    SEE ALSO
    STANDARDS
    HISTORY


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру