| 1 | package l2tpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/ |
| 2 | |
| 3 | import ( |
| 4 | "fmtscip-go gomod github.com/golang/go/src go1.18 fmt/" |
| 5 | "syncscip-go gomod github.com/golang/go/src go1.18 sync/" |
| 6 | "timescip-go gomod github.com/golang/go/src go1.18 time/" |
| 7 | |
| 8 | "github.com/go-kit/kit/logscip-go gomod github.com/go-kit/kit v0.13.0 `github.com/go-kit/kit/log`/" |
| 9 | "github.com/go-kit/kit/log/levelscip-go gomod github.com/go-kit/kit v0.13.0 `github.com/go-kit/kit/log/level`/" |
| 10 | "golang.org/x/sys/unixscip-go gomod golang.org/x/sys v0.12.0 `golang.org/x/sys/unix`/" |
| 11 | ) |
| 12 | |
| 13 | type quiescentTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel# struct { |
| 14 | *baseTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#baseTunnel. |
| 15 | salscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#sal., sapscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#sap. unixscip-go gomod golang.org/x/sys v0.12.0 `golang.org/x/sys/unix`/.Sockaddrscip-go gomod golang.org/x/sys v0.12.0 `golang.org/x/sys/unix`/Sockaddr# |
| 16 | cpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#cp. *controlPlanescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/controlPlane# |
| 17 | xportscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#xport. *transportscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/transport# |
| 18 | dpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#dp. TunnelDataPlanescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelDataPlane# |
| 19 | closeChanscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#closeChan. chan bool |
| 20 | wgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#wg. syncscip-go gomod github.com/golang/go/src go1.18 sync/.WaitGroupscip-go gomod github.com/golang/go/src go1.18 sync/WaitGroup# |
| 21 | } |
| 22 | |
| 23 | func (qt *quiescentTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#) NewSessionscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#NewSession().(name string, cfg *SessionConfigscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/SessionConfig#) (Sessionscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/Session#, error) { |
| 24 | |
| 25 | // Must have configuration |
| 26 | if cfg == nil { |
| 27 | return nil, fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Errorfscip-go gomod github.com/golang/go/src go1.18 fmt/Errorf().("invalid nil config") |
| 28 | } |
| 29 | |
| 30 | // Duplicate the configuration so we don't modify the user's copy |
| 31 | myCfg := *cfg |
| 32 | |
| 33 | if _, ok := qt.findSessionByNamescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#findSessionByName().(name); ok { |
| 34 | return nil, fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Errorfscip-go gomod github.com/golang/go/src go1.18 fmt/Errorf().("already have session %q", name) |
| 35 | } |
| 36 | |
| 37 | if _, ok := qt.findSessionByIDscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#findSessionByID().(cfg.SessionIDscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/SessionConfig#SessionID.); ok { |
| 38 | return nil, fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Errorfscip-go gomod github.com/golang/go/src go1.18 fmt/Errorf().("already have session %q", cfg.SessionIDscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/SessionConfig#SessionID.) |
| 39 | } |
| 40 | |
| 41 | s, err := newStaticSessionscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/newStaticSession().(name, qt, &myCfg) |
| 42 | if err != nil { |
| 43 | return nil, err |
| 44 | } |
| 45 | |
| 46 | qt.linkSessionscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#linkSession().(s) |
| 47 | |
| 48 | return s, nil |
| 49 | } |
| 50 | |
| 51 | func (qt *quiescentTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#) Closescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#Close().() { |
| 52 | if qt != nil { |
| 53 | close(qt.closeChanscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#closeChan.) |
| 54 | qt.wgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#wg..Waitscip-go gomod github.com/golang/go/src go1.18 sync/WaitGroup#Wait().() |
| 55 | qt.closescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#close().() |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | func (qt *quiescentTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#) closescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#close().() { |
| 60 | if qt != nil { |
| 61 | qt.baseTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#baseTunnel..closeAllSessionsscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#closeAllSessions().() |
| 62 | |
| 63 | if qt.xportscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#xport. != nil { |
| 64 | qt.xportscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#xport..closescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/transport#close().() |
| 65 | } |
| 66 | if qt.cpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#cp. != nil { |
| 67 | qt.cpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#cp..closescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/controlPlane#close().() |
| 68 | } |
| 69 | if qt.dpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#dp. != nil { |
| 70 | err := qt.dpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#dp..Downscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelDataPlane#Down.() |
| 71 | levelscip-go gomod github.com/go-kit/kit v0.13.0 `github.com/go-kit/kit/log/level`/.Errorscip-go gomod github.com/go-kit/kit v0.13.0 `github.com/go-kit/kit/log/level`/Error().(qt.loggerscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#logger.).Logscip-go gomod github.com/go-kit/log v0.2.1 `github.com/go-kit/log`/Logger#Log().("message", "dataplane down failed", "error", err) |
| 72 | } |
| 73 | |
| 74 | qt.parentscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#parent..unlinkTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/Context#unlinkTunnel().(qt) |
| 75 | |
| 76 | levelscip-go gomod github.com/go-kit/kit v0.13.0 `github.com/go-kit/kit/log/level`/.Infoscip-go gomod github.com/go-kit/kit v0.13.0 `github.com/go-kit/kit/log/level`/Info().(qt.loggerscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#logger.).Logscip-go gomod github.com/go-kit/log v0.2.1 `github.com/go-kit/log`/Logger#Log().("message", "close") |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | func (qt *quiescentTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#) xportReaderscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#xportReader().() { |
| 81 | // Although we're not running the control protocol we do need |
| 82 | // to drain messages from the transport to avoid the receive |
| 83 | // path blocking. |
| 84 | defer qt.wgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#wg..Donescip-go gomod github.com/golang/go/src go1.18 sync/WaitGroup#Done().() |
| 85 | for { |
| 86 | select { |
| 87 | case <-qt.closeChanscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#closeChan.: |
| 88 | return |
| 89 | case _, ok := <-qt.xportscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#xport..recvChanscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/transport#recvChan.: |
| 90 | if !ok { |
| 91 | qt.closescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#close().() |
| 92 | return |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | func newQuiescentTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/newQuiescentTunnel().(name string, parent *Contextscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/Context#, sal, sap unixscip-go gomod golang.org/x/sys v0.12.0 `golang.org/x/sys/unix`/.Sockaddrscip-go gomod golang.org/x/sys v0.12.0 `golang.org/x/sys/unix`/Sockaddr#, cfg *TunnelConfigscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelConfig#) (qt *quiescentTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#, err error) { |
| 99 | qt = &quiescentTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#{ |
| 100 | baseTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#baseTunnel.: newBaseTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/newBaseTunnel().( |
| 101 | logscip-go gomod github.com/go-kit/kit v0.13.0 `github.com/go-kit/kit/log`/.Withscip-go gomod github.com/go-kit/kit v0.13.0 `github.com/go-kit/kit/log`/With().(parent.loggerscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/Context#logger., "tunnel_name", name), |
| 102 | name, |
| 103 | parent, |
| 104 | cfg), |
| 105 | salscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#sal.: sal, |
| 106 | sapscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#sap.: sap, |
| 107 | closeChanscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#closeChan.: make(chan bool), |
| 108 | } |
| 109 | |
| 110 | // Initialise the control plane. |
| 111 | // We bind/connect immediately since we're not runnning most of the control protocol. |
| 112 | qt.cpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#cp., err = newL2tpControlPlanescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/newL2tpControlPlane().(sal, sap) |
| 113 | if err != nil { |
| 114 | qt.Closescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#Close().() |
| 115 | return nil, err |
| 116 | } |
| 117 | |
| 118 | err = qt.cpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#cp..bindscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/controlPlane#bind().() |
| 119 | if err != nil { |
| 120 | qt.Closescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#Close().() |
| 121 | return nil, err |
| 122 | } |
| 123 | |
| 124 | err = qt.cpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#cp..connectscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/controlPlane#connect().() |
| 125 | if err != nil { |
| 126 | qt.Closescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#Close().() |
| 127 | return nil, err |
| 128 | } |
| 129 | |
| 130 | qt.dpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#dp., err = parent.dpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/Context#dp..NewTunnelscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/DataPlane#NewTunnel.(qt.cfgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#cfg., qt.salscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#sal., qt.sapscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#sap., qt.cpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#cp..fdscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/controlPlane#fd.) |
| 131 | if err != nil { |
| 132 | qt.Closescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#Close().() |
| 133 | return nil, err |
| 134 | } |
| 135 | |
| 136 | qt.xportscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#xport., err = newTransportscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/newTransport().(qt.loggerscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#logger., qt.cpscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#cp., transportConfigscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/transportConfig#{ |
| 137 | HelloTimeoutscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/transportConfig#HelloTimeout.: qt.cfgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#cfg..HelloTimeoutscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelConfig#HelloTimeout., |
| 138 | TxWindowSizescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/transportConfig#TxWindowSize.: qt.cfgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#cfg..WindowSizescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelConfig#WindowSize., |
| 139 | MaxRetriesscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/transportConfig#MaxRetries.: qt.cfgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#cfg..MaxRetriesscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelConfig#MaxRetries., |
| 140 | RetryTimeoutscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/transportConfig#RetryTimeout.: qt.cfgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#cfg..RetryTimeoutscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelConfig#RetryTimeout., |
| 141 | AckTimeoutscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/transportConfig#AckTimeout.: timescip-go gomod github.com/golang/go/src go1.18 time/.Millisecondscip-go gomod github.com/golang/go/src go1.18 time/Millisecond. * 100, |
| 142 | Versionscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/transportConfig#Version.: qt.cfgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#cfg..Versionscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelConfig#Version., |
| 143 | PeerControlConnIDscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/transportConfig#PeerControlConnID.: qt.cfgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#cfg..PeerTunnelIDscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelConfig#PeerTunnelID., |
| 144 | }) |
| 145 | if err != nil { |
| 146 | qt.Closescip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#Close().() |
| 147 | return nil, err |
| 148 | } |
| 149 | |
| 150 | qt.wgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#wg..Addscip-go gomod github.com/golang/go/src go1.18 sync/WaitGroup#Add().(1) |
| 151 | go qt.xportReaderscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/quiescentTunnel#xportReader().() |
| 152 | |
| 153 | levelscip-go gomod github.com/go-kit/kit v0.13.0 `github.com/go-kit/kit/log/level`/.Infoscip-go gomod github.com/go-kit/kit v0.13.0 `github.com/go-kit/kit/log/level`/Info().(qt.loggerscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#logger.).Logscip-go gomod github.com/go-kit/log v0.2.1 `github.com/go-kit/log`/Logger#Log().( |
| 154 | "message", "new quiescent tunnel", |
| 155 | "version", qt.cfgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#cfg..Versionscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelConfig#Version., |
| 156 | "encap", qt.cfgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#cfg..Encapscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelConfig#Encap., |
| 157 | "local", qt.cfgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#cfg..Localscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelConfig#Local., |
| 158 | "peer", qt.cfgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#cfg..Peerscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelConfig#Peer., |
| 159 | "tunnel_id", qt.cfgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#cfg..TunnelIDscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelConfig#TunnelID., |
| 160 | "peer_tunnel_id", qt.cfgscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/baseTunnel#cfg..PeerTunnelIDscip-go gomod github.com/katalix/go-l2tp . `github.com/katalix/go-l2tp/l2tp`/TunnelConfig#PeerTunnelID.) |
| 161 | |
| 162 | return |
| 163 | } |