| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| zx_library("inet6") { |
| sdk = "source" |
| sdk_headers = [ |
| "inet6/inet6.h", |
| "inet6/netifc.h", |
| ] |
| sources = [ |
| "checksum.c", |
| "eth-client.c", |
| "inet6.c", |
| "netifc.c", |
| ] |
| deps = [ |
| ":netifc-discover", |
| "$zx/system/fidl/fuchsia-device:c", |
| "$zx/system/fidl/fuchsia-hardware-ethernet:c", |
| "$zx/system/ulib/fdio", |
| "$zx/system/ulib/zircon", |
| "$zx/system/ulib/zircon-internal", |
| ] |
| } |
| |
| zx_library("netifc-discover") { |
| sdk = "source" |
| sdk_headers = [ "inet6/netifc-discover.h" ] |
| sources = [ "netifc-discover.cc" ] |
| deps = [ |
| "$zx/system/fidl/fuchsia-device:c", |
| "$zx/system/fidl/fuchsia-device:llcpp", |
| "$zx/system/fidl/fuchsia-hardware-ethernet:c", |
| "$zx/system/ulib/fdio", |
| "$zx/system/ulib/zircon", |
| ] |
| } |