//
//  getgateway.h
//  NetWorkInfoTest
//
//  Created by Heping on 9/18/16.
//  Copyright © 2016 BONC. All rights reserved.
//

#ifndef getgateway_h
#define getgateway_h

/* getdefaultgateway() :
 * return value :
 *    0 : success
 *   -1 : failure    */
int getdefaultgateway( struct sockaddr * addr );

#endif /* getgateway_h */
