Home | History | Annotate | Download | only in native
      1 /* This file was generated from java/net/SocketOptions.java and is licensed
      2  * under the same terms. The copyright and license information for
      3  * java/net/SocketOptions.java follows.
      4  *
      5  * Copyright (c) 1996, 2006, Oracle and/or its affiliates. All rights reserved.
      6  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
      7  *
      8  * This code is free software; you can redistribute it and/or modify it
      9  * under the terms of the GNU General Public License version 2 only, as
     10  * published by the Free Software Foundation.  Oracle designates this
     11  * particular file as subject to the "Classpath" exception as provided
     12  * by Oracle in the LICENSE file that accompanied this code.
     13  *
     14  * This code is distributed in the hope that it will be useful, but WITHOUT
     15  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     16  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
     17  * version 2 for more details (a copy is included in the LICENSE file that
     18  * accompanied this code).
     19  *
     20  * You should have received a copy of the GNU General Public License version
     21  * 2 along with this work; if not, write to the Free Software Foundation,
     22  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
     23  *
     24  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
     25  * or visit www.oracle.com if you need additional information or have any
     26  * questions.
     27  */
     28 /* DO NOT EDIT THIS FILE - it is machine generated */
     29 #include <jni.h>
     30 /* Header for class java_net_SocketOptions */
     31 
     32 #ifndef _Included_java_net_SocketOptions
     33 #define _Included_java_net_SocketOptions
     34 #ifdef __cplusplus
     35 extern "C" {
     36 #endif
     37 #undef java_net_SocketOptions_TCP_NODELAY
     38 #define java_net_SocketOptions_TCP_NODELAY 1L
     39 #undef java_net_SocketOptions_SO_BINDADDR
     40 #define java_net_SocketOptions_SO_BINDADDR 15L
     41 #undef java_net_SocketOptions_SO_REUSEADDR
     42 #define java_net_SocketOptions_SO_REUSEADDR 4L
     43 #undef java_net_SocketOptions_SO_BROADCAST
     44 #define java_net_SocketOptions_SO_BROADCAST 32L
     45 #undef java_net_SocketOptions_IP_MULTICAST_IF
     46 #define java_net_SocketOptions_IP_MULTICAST_IF 16L
     47 #undef java_net_SocketOptions_IP_MULTICAST_IF2
     48 #define java_net_SocketOptions_IP_MULTICAST_IF2 31L
     49 #undef java_net_SocketOptions_IP_MULTICAST_LOOP
     50 #define java_net_SocketOptions_IP_MULTICAST_LOOP 18L
     51 #undef java_net_SocketOptions_IP_TOS
     52 #define java_net_SocketOptions_IP_TOS 3L
     53 #undef java_net_SocketOptions_SO_LINGER
     54 #define java_net_SocketOptions_SO_LINGER 128L
     55 #undef java_net_SocketOptions_SO_TIMEOUT
     56 #define java_net_SocketOptions_SO_TIMEOUT 4102L
     57 #undef java_net_SocketOptions_SO_SNDBUF
     58 #define java_net_SocketOptions_SO_SNDBUF 4097L
     59 #undef java_net_SocketOptions_SO_RCVBUF
     60 #define java_net_SocketOptions_SO_RCVBUF 4098L
     61 #undef java_net_SocketOptions_SO_KEEPALIVE
     62 #define java_net_SocketOptions_SO_KEEPALIVE 8L
     63 #undef java_net_SocketOptions_SO_OOBINLINE
     64 #define java_net_SocketOptions_SO_OOBINLINE 4099L
     65 #ifdef __cplusplus
     66 }
     67 #endif
     68 #endif
     69