mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-08 18:20:41 +08:00
14 lines
163 B
Go
14 lines
163 B
Go
// +build linux darwin
|
|
|
|
package core
|
|
|
|
/*
|
|
#cgo CFLAGS: -I./c/include
|
|
#include "lwip/init.h"
|
|
*/
|
|
import "C"
|
|
|
|
func lwipInit() {
|
|
C.lwip_init() // Initialze modules.
|
|
}
|