/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | renesas,ether.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/renesas,ether.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: ethernet-controlle [all...] |
H A D | renesas,ravb.txt | 7 - compatible: Must contain one or more of the following: 8 - "renesas,etheravb-r8a7742" for the R8A7742 SoC. 9 - "renesas,etheravb-r8a7743" for the R8A7743 SoC. 10 - "renesas,etheravb-r8a7744" for the R8A7744 SoC. 11 - "renesas,etheravb-r8a7745" for the R8A7745 SoC. 12 - "renesas,etheravb-r8a77470" for the R8A77470 SoC. 13 - "renesas,etheravb-r8a7790" for the R8A7790 SoC. 14 - "renesas,etheravb-r8a7791" for the R8A7791 SoC. 15 - "renesas,etheravb-r8a7792" for the R8A7792 SoC. 16 - "renesas,etheravb-r8a7793" for the R8A7793 SoC. [all …]
|
/freebsd/usr.sbin/arp/ |
H A D | arp.4 | 19 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 35 .Cd "device ether" 43 ARP caches Internet-Ethernet address mappings. 50 .Va net.link.ether.inet.maxhold 60 for a non-responding destination host, and 62 for a non-responding router. 64 The ARP cache is stored in per-interface link-level table. 69 Manually-added entries may be temporary or permanent, 77 This is no longer supported. 86 is set up on a host-by-host basis using the [all …]
|
/freebsd/tests/sys/net/ |
H A D | if_lagg_test.sh | 12 # substantially similar to the "NO WARRANTY" disclaimer below 17 # NO WARRANTY 21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 56 atf_check -o match:"inet ${ADDR}" ifconfig $LAGG 57 atf_check -o match:"laggport: ${TAP0}" ifconfig $LAGG 58 atf_check -o match:"laggport: ${TAP1}" ifconfig $LAGG 61 MAC=`ifconfig $LAGG | awk '/ether/ {print $2}'` 62 atf_check -o match:"ether ${MAC}" ifconfig $TAP0 63 atf_check - [all...] |
/freebsd/share/examples/netgraph/ |
H A D | virtual.lan | 10 # lines of this file. Under no circumstances is the author 55 # +---------------+ +---------------+ +---------------+ 58 # | +-----------+ | | +-----------+ | | +-----------+ | 61 # | +--+-----+--+ | | +--+-----+--+ | | +--+-----+--+ | 62 # | |ether| | | |ether| | | |ether| | 63 # | +--X--+ | | +--X--+ | | +---X-+ | 64 # +-----+ +--------\------+ +--------\------+ +-------/-------+ 65 # |upper|----\ \ip_addr \ip_addr /ip_addr 66 # +-+-----+--+ \ \ \ \ 67 # | em0 | \ +--------+ +-+ \ [all …]
|
H A D | virtual.chain | 10 # lines of this file. Under no circumstances is the author 28 # IP address. Target top. syntax: ( name|ip<->name|ip ... ) 29 # Example 1: ( n1|10.0.2.1/30<->n2|10.0.2.2/30 ...) 30 # Example 2: ( n1|2001:b90::14a/125<->n1|2001:b90::14b/125 ...) 40 # STATIC_ROUTE0="jexec n1 route add -inet default 10.0.2.2" 41 # STATIC_ROUTE1="jexec n3 route add -inet default 10.0.2.5" 57 # +---------------+ +---------------------------------------------+ 60 # | +-----------+ | | +-----------+ +-----------+ +-----------+ | 63 # | +--+-----+--+ | | +--+-----+--+ +--+-----+--+ +--+-----+--+ | 64 # | |ether| | | |ether| |ether| |ether| | [all …]
|
/freebsd/tests/sys/net/routing/ |
H A D | test_rtsock_lladdr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 36 snprintf(vnet_name, sizeof(vnet_name), "vt-%s", atf_tc_get_ident(tc)); in jump_vnet() 39 vnet_switch_one(vnet_name, c->ifname); in jump_vnet() 42 c->ifindex = if_nametoindex(c->ifname); in jump_vnet() 55 ret = iface_turn_up(c->ifname); in presetup_ipv6() 56 ATF_REQUIRE_MSG(ret == 0, "Unable to turn up %s", c->ifname); in presetup_ipv6() 57 ret = iface_enable_ipv6(c->ifname); in presetup_ipv6() 58 ATF_REQUIRE_MSG(ret == 0, "Unable to enable IPv6 on %s", c->ifname); in presetup_ipv6() [all …]
|
/freebsd/contrib/libpcap/ |
H A D | pcap-filter.manmisc.in | 21 .TH PCAP-FILTER @MAN_MISC_INFO@ "13 June 2023" 23 pcap-filter \- packet filter syntax 54 E.g., `\fBhost\fP foo', `\fBnet\fP 128.3', `\fBport\fP 20', `\fBportrange\fP 6000-6008'. 55 If there is no type 75 E.g., `\fBsrc\fP foo', `\fBdst net\fP 128.3', `\fBsrc or dst port\fP ftp-data'. 77 there is no dir qualifier, `\fBsrc or dst\fP' is assumed. 86 qualifiers are only valid for IEEE 802.11 Wireless LAN link layers. 105 E.g., `\fBether src\fP foo', `\fBarp net\fP 128.3', `\fBtcp port\fP 21', 106 `\fBudp portrange\fP 7000-7009', `\fBwlan addr2\fP 0:2:3:4:5:6'. 107 If there is no [all …]
|
/freebsd/tests/sys/netpfil/pf/ |
H A D | mbuf.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 18 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 31 if ! kldstat -q -m dummymbuf; then 55 atf_check -s exit:0 -o ignore ping -c1 192.0.2.2 58 jexec alcatraz pfctl -e 61 atf_check -s not-exit:0 -o ignore ping -c1 -t1 192.0.2.2 67 atf_check -s exit:0 -o ignore ping -c1 192.0.2.2 70 jexec alcatraz pfilctl link -i dummymbuf:inet inet 71 jexec alcatraz sysctl net.dummymbuf.rules="inet in ${epair}b pull-head 0;" 72 atf_check_equal "0" "$(jexec alcatraz sysctl -n net.dummymbuf.hits)" [all …]
|
H A D | ether.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 18 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 43 epair_a_mac=$(ifconfig ${epair}a ether | awk '/ether/ { print $2; }') 51 "ether block from ${epair_a_mac}" 53 atf_check -s exit:0 -o ignore ping -c 1 -t 1 192.0.2.2 56 jexec alcatraz pfctl -e 58 atf_check -s exit:2 -o ignore ping -c 1 -t 1 192.0.2.2 62 "ether block to ${epair_a_mac}" 63 atf_check -s exit:2 -o ignore ping -c 1 -t 1 192.0.2.2 67 "ether block to 00:01:02:03:04:05" [all …]
|
/freebsd/tools/regression/netinet/arphold/ |
H A D | arphold.c | 3 * Written by George Neville-Neil gnn@freebsd.org 18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 73 if (sysctlbyname("net.link.ether.inet.maxhold", &maxhold, &size, in main() 75 perror("not ok 1 - sysctlbyname failed"); in main() 84 perror("not ok 1 - could not open socket"); in main() 90 perror("not ok 1 - could not parse address"); in main() 97 if (sysctlbyname("net.link.ether.arp.stats", &arpstat, &len, in main() 99 perror("not ok 1 - could not get initial arp stats"); in main() 116 perror("not ok 1 - could not send packet"); in main() 119 maxhold--; in main() [all …]
|
/freebsd/share/examples/jails/ |
H A D | jng | 2 #- 18 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 48 # # NB: Below 2-lines required 60 # # NB: Below 2-lines required 126 # And set ether devfs.ruleset="11" (jail.conf(5)) or 130 # handle most setups, minus some which considered exotic or purpose-built. 183 n) __mac_num=${OPTARG%%[^0-9]*} ;; 186 shift $(( $OPTIND - 1 )) 189 eval __mac_num=\${_${iface}_num:--1} 209 # The S bits are a CRC-16 checksum of NAME, allowing the jail [all …]
|
/freebsd/tests/sys/netinet/ |
H A D | arp.sh | 1 #!/usr/bin/env atf-sh 2 #- 3 # SPDX-License-Identifier: BSD-2-Clause 19 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 42 jname="v4t-arp_add_success" 50 atf_check jexec ${jname} arp -s 198.51.100.2 90:10:00:01:02:03 52 …atf_check -o match:"\? \(198.51.100.2\) at 90:10:00:01:02:03 on ${epair0}a permanent" jexec ${jnam… 70 jname="v4t-arp_del_success" 78 jexec ${jname} ping -c1 -t1 198.51.100.2 80 atf_check -o match:"198.51.100.2 \(198.51.100.2\) deleted" jexec ${jname} arp -nd 198.51.100.2 [all …]
|
/freebsd/tools/tools/netmap/ |
H A D | nmreplay.8 | 16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 32 .Bk -words 33 .Bl -tag -width "nmreplay" 35 .Op Fl f Ar pcap-file 36 .Op Fl i Ar netmap-interface 41 .Op Fl w Ar wait-link 43 .Op Fl C Ar cpu-placement 61 .Bl -tag -width Ds 62 .It Fl f Ar pcap-file 71 .It Fl b Ar batch-size [all …]
|
/freebsd/share/man/man4/ |
H A D | ng_ether.4 | 10 .\" 2. No rights are granted, in any manner or form, to use Whistle 16 .\" TO THE MAXIMUM EXTENT PERMITTED BY LAW, WHISTLE COMMUNICATIONS MAKES NO 19 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. 23 .\" IN NO EVENT SHALL WHISTLE COMMUNICATIONS BE LIABLE FOR ANY DAMAGES 45 .Nm ether 103 14 byte Ethernet header (but no checksum). 105 When no hooks are connected, 113 .Bl -tag -width ".Va orphans" 115 Connection to the lower device link layer. 125 .Bl -tag -width foo [all …]
|
H A D | udbp.4 | 16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 35 .Bd -ragged -offset indent 42 .Bd -literal -offset indent 48 driver provides support for host-to-host cables 53 A useful (but non-comprehensive) list of compatible USB host cables 62 .\" clueless. Working on it -- sheldonh 92 .Dl ngctl mkpeer udbp0: eiface data ether 93 .Dl ifconfig ngeth0 ether aa:dd:xx:xx:xx 97 and connect its ether hook to the data hook of the 104 The Linux node should be configured to prefer link-local IPv4 addresses [all …]
|
H A D | ng_bridge.4 | 10 .\" 2. No rights are granted, in any manner or form, to use Whistle 16 .\" TO THE MAXIMUM EXTENT PERMITTED BY LAW, WHISTLE COMMUNICATIONS MAKES NO 19 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. 23 .\" IN NO EVENT SHALL WHISTLE COMMUNICATIONS BE LIABLE FOR ANY DAMAGES 48 Each link (represented by a connected hook) is used to transmit 50 As packets are received, the node learns which link each 53 link only, and other links are spared the traffic. 55 every received packet to every other link. 65 If a host is detected on link A, and is then detected on link B 66 within a certain time period after first being detected on link A, [all …]
|
H A D | lagg.4 | 11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 22 .Nd link aggregation and link failover interface 27 .Bd -ragged -offset indent 34 .Bd -literal -offset indent 42 interface for the purpose of providing fault-tolerance and high-speed links. 61 It can use different link aggregatio [all...] |
/freebsd/usr.sbin/ppp/ |
H A D | ether.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 19 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 70 #include "link.h" 96 #include "ether.h" 99 #define PPPOE_NODE_TYPE_LEN (sizeof NG_PPPOE_NODE_TYPE - 1) /* "PPPoE" */ 111 ((d)->type == ETHER_DEVICE ? (struct etherdevice *)d : NULL) 122 struct etherdevice *dev = device2ether(p->handler); in ether_Write() 124 return NgSendData(p->fd, dev->hook, v, n) == -1 ? -1 : (ssize_t)n; in ether_Write() 132 return NgRecvData(p->fd, v, n, hook); in ether_Read() [all …]
|
/freebsd/sbin/ifconfig/ |
H A D | af_link.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 65 *format_char = '-'; in print_ether() 91 print_ether((struct ether_addr *)LLADDR(sdl), "ether"); in print_lladdr() 93 int n = sdl->sdl_nlen > 0 ? sdl->sdl_nlen + 1 : 0; in print_lladdr() 112 /* XXX no const 'cuz LLADDR is defined wrong */ in link_status() 118 sdl = satosdl(ifa->ifa_addr); in link_status() 119 if (sdl == NULL || sdl->sdl_alen == 0) in link_status() 125 * Best-effort (i.e. failures are silent) to get original in link_status() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/renesas/ |
H A D | r7s72100-gr-peach.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the GR-Peach board 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/pinctrl/r7s72100-pinctrl.h> 15 model = "GR-Peach"; 16 compatible = "renesas,gr-peac [all...] |
H A D | r7s72100-genmai.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2013-14 Renesas Solutions Corp. 6 * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com> 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/pinctrl/r7s72100-pinctrl.h> 24 stdout-pat [all...] |
/freebsd/contrib/tcpdump/ |
H A D | configure.in | 45 LOCALSRC="print-pflog.c $LOCALSRC" 74 AC_HELP_STRING([--disable-universal],[don't build universal on OS X])) 75 if test "$enable_universal" != "no"; then 80 # Leopard. Build for x86 and 32-bit PowerPC, with 83 V_CCOPT="$V_CCOPT -arch i386 -arch ppc" 84 LDFLAGS="$LDFLAGS -arch i386 -arch ppc" 89 # Snow Leopard. Build for x86-64 and x86, with 90 # x86-64 first. (That's what Apple does.) 92 V_CCOPT="$V_CCOPT -arch x86_64 -arch i386" 93 LDFLAGS="$LDFLAGS -arch x86_64 -arch i386" [all …]
|
/freebsd/libexec/rc/ |
H A D | network.subr | 16 # ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE 44 [ -z "$ifn" ] && err 1 "ifn_start called without an interface" 58 # Shutdown and de-configure an interface. If action is taken, 67 [ -z "$ifn" ] && err 1 "ifn_stop called without an interface" 95 ifn_vnet0 $1 -vnet 119 # had no arguments. Pseudo arguments DHCP and WPA are handled 135 _ipv6_opts="-ifdisabled" 142 bridge[0-9]*) 143 # No accept_rtadv by default on if_bridge(4) 158 _ipv6_opts="${_ipv6_opts} -no_radr accept_rtadv" [all …]
|
/freebsd/sys/net/ |
H A D | if_mib.h | 1 /*- 12 * no representations about the suitability of this software for any 19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT 45 * sysctl MIB tags at the net.link.generic level 47 #define IFMIB_SYSTEM 1 /* non-interface-specific */ 48 #define IFMIB_IFDATA 2 /* per-interface data table */ 51 * MIB tags for the various net.link.generic.ifdata tables 58 * MIB tags at the net.link.generic.system level 63 * MIB tags as the net.link level 70 * net.link.<iftype> branches is twofold: [all …]
|