github.com/gopacket/gopacket@v1.1.0/routing/other.go (about)

     1  // Copyright 2012 Google, Inc. All rights reserved.
     2  //
     3  // Use of this source code is governed by a BSD-style license
     4  // that can be found in the LICENSE file in the root of the source
     5  // tree.
     6  
     7  //go:build !linux
     8  // +build !linux
     9  
    10  // Package routing is currently only supported in Linux, but the build system requires a valid go file for all architectures.
    11  
    12  package routing
    13  
    14  func New() (Router, error) {
    15  	panic("router only implemented in linux")
    16  }