You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: factory_linux.go
    path of file: ./repos/netbird/client/internal/wgproxy
    
    the code of the file until where you have to start completion: //go:build !android

package wgproxy

import (
	log "github.com/sirupsen/logrus"
)

func NewFactory(wgPort int) *Factory {
	f := &Facto
    
func NewFactory(wgPort int) *Factory {
	f := &Factory{wgPort: wgPort}

	ebpfProxy := NewWGEBPFProxy(wgPort)
	err := ebpfProxy.Listen()
	if err != nil {
		log.Warnf("failed to initialize ebpf proxy, fallback to user space proxy: %s", err)
		return f
	}

	f.ebpfProxy = ebpfProxy
	return f
}