"Fossies" - the Fresh Open Source Software Archive

Member "libspf2-1.2.10/src/libreplace/__ns_get16.c" (28 Jan 2012, 278 Bytes) of package /linux/privat/libspf2-1.2.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "__ns_get16.c" see the Fossies "Dox" file reference documentation.

    1 /* #include "port_before.h" */
    2 #include "config.h"
    3 
    4 #ifdef STDC_HEADERS
    5 # include <stdio.h>
    6 #endif
    7 
    8 #include <sys/types.h>
    9 
   10 #include <netinet/in.h>
   11 #include "arpa_nameser.h"
   12 
   13 
   14 u_int
   15 __ns_get16(src)
   16     const u_char *src;
   17 {
   18         u_int dst;
   19 
   20     NS_GET16(dst, src);
   21     return (dst);
   22 }