> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/man/man4/fwe.4.md).

# fwe.4

`fwe` — FireWire 的以太网模拟驱动程序

## 名称

`fwe`

## 概要

`要将本驱动程序编译进内核，请在你的内核配置文件中加入以下行：`

> device firewire device fwe

`或者，要在引导时以模块方式加载该驱动程序，请在 loader.conf(5) 中加入以下行：`

```sh
if_fwe_load="YES"
```

## 描述

`fwe` 驱动程序通过 FireWire（IEEE 1394）提供非标准的以太网模拟。

[firewire(4)](/man/man4/firewire.4.md) 和 [fwohci(4)](/man/man4/fwohci.4.md) 也必须在内核中配置。

本驱动程序利用 IEEE 1394 上的异步流来承载以太网帧。流通道可通过 `hw.firewire.fwe.stream_ch` [sysctl(8)](/man/man8/sysctl.8.md) 指定。

如果使用 `DEVICE_POLLING` 选项编译，本驱动程序还支持 [polling(4)](/man/man4/polling.4.md)。

## 参见

arp(4), [firewire(4)](/man/man4/firewire.4.md), [fwip(4)](/man/man4/fwip.4.md), [fwohci(4)](/man/man4/fwohci.4.md), [netintro(4)](/man/man4/netintro.4.md), [ng\_ether(4)](/man/man4/ng_ether.4.md), [polling(4)](/man/man4/polling.4.md), [ifconfig(8)](/man/man8/ifconfig.8.md), [kldload(8)](/man/man8/kldload.8.md), [sysctl(8)](/man/man8/sysctl.8.md)

## 历史

`fwe` 设备驱动程序首次出现于 FreeBSD 5.0。

## 作者

`fwe` 驱动程序和本手册页由 Hidetoshi Shimokawa 编写。

## 缺陷

本驱动程序以一种非常临时的方式模拟以太网，且不使用等时管理器预留流通道。注意，本驱动程序使用的协议与 RFC 2734（IPv4 over IEEE 1394）非常不同。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man4/fwe.4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
