/freebsd/tests/sys/netpfil/pf/ |
H A D | ether.sh | 43 epair_a_mac=$(ifconfig ${epair}a ether | awk '/ether/ { print $2; }') 51 "ether block from ${epair_a_mac}" 62 "ether block to ${epair_a_mac}" 67 "ether block to 00:01:02:03:04:05" 72 "ether block to { ${epair_a_mac}, 00:01:02:0:04:05 }" 77 "ether block on ${epair}b from ${epair_a_mac}" 82 "ether block on ${epair}a from ${epair_a_mac}" 87 "ether block in on ${epair}b from ! ${epair_a_mac}" 91 "ether block out on ${epair}b to ! ${epair_a_mac}" 96 "ether block out on ${epair}b to { ! ${epair_a_mac} }" [all …]
|
H A D | mbuf.sh | 171 epair_a_mac=$(ifconfig ${epair}a ether | awk '/ether/ { print $2; }') 177 epair_b_mac=$(jexec alcatraz ifconfig ${epair}b ether | awk '/ether/ { print $2; }') 185 "ether block" \ 193 "ether block" \ 194 "ether pass in from ${epair_a_mac} to ${epair_b_mac}" \ 195 "ether pass out from ${epair_b_mac} to ${epair_a_mac}" \
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | renesas,ether.yaml | 4 $id: http://devicetree.org/schemas/net/renesas,ether.yaml# 22 - renesas,ether-r7s72100 # device is a part of R7S72100 SoC 23 - renesas,ether-r7s9210 # device is a part of R7S9210 SoC 26 - renesas,ether-r8a7778 # device is a part of R8A7778 SoC 27 - renesas,ether-r8a7779 # device is a part of R8A7779 SoC 29 - renesas,rcar-gen1-ether # a generic R-Car Gen1 device 32 - renesas,ether-r8a7742 # device is a part of R8A7742 SoC 33 - renesas,ether-r8a7743 # device is a part of R8A7743 SoC 34 - renesas,ether-r8a7745 # device is a part of R8A7745 SoC 35 - renesas,ether [all...] |
H A D | socionext,uniphier-ave4.yaml | 81 - const: ether 82 - const: ether-gb 83 - const: ether-phy 90 - const: ether 96 const: ether 100 const: ether 118 ether: ethernet@65000000 { 124 clock-names = "ether"; 126 reset-names = "ether";
|
/freebsd/tests/sys/net/routing/ |
H A D | test_rtsock_lladdr.c | 136 struct sockaddr_dl ether; in ATF_TC_BODY() local 138 sa_convert_str_to_sa(str_buf, (struct sockaddr *)ðer); in ATF_TC_BODY() 140 prepare_route_message(rtm, RTM_ADD, (struct sockaddr *)&sin6, (struct sockaddr *)ðer); in ATF_TC_BODY() 159 ret = sa_equal_msg_flags(sa, (struct sockaddr *)ðer, msg, sizeof(msg), sa_flags); in ATF_TC_BODY() 185 struct sockaddr_dl ether; in ATF_TC_BODY() local 187 sa_convert_str_to_sa(str_buf, (struct sockaddr *)ðer); in ATF_TC_BODY() 189 prepare_route_message(rtm, RTM_ADD, (struct sockaddr *)&sin6, (struct sockaddr *)ðer); in ATF_TC_BODY() 211 ret = sa_equal_msg_flags(sa, (struct sockaddr *)ðer, msg, sizeof(msg), sa_flags); in ATF_TC_BODY() 236 struct sockaddr_dl ether; in ATF_TC_BODY() local 238 sa_convert_str_to_sa(str_buf, (struct sockaddr *)ðer); in ATF_TC_BODY() [all …]
|
/freebsd/share/examples/netgraph/ |
H A D | ether.bridge | 86 for ETHER in ${BRIDGE_IFACES} ${LOCAL_IFACES}; do 87 if ! ngctl info ${ETHER}: >/dev/null 2>&1; then 88 echo "Error: interface ${ETHER} does not exist" 91 ifconfig ${ETHER} up || exit 1 101 for ETHER in ${BRIDGE_IFACES}; do 103 ngctl connect ${ETHER}: ${BRIDGE_NAME}: \ 117 for ETHER in ${BRIDGE_IFACES}; do 118 ngctl msg ${ETHER}: setpromisc 1 || exit 1 119 ngctl msg ${ETHER}: setautosrc 0 || exit 1 126 for ETHER in ${BRIDGE_IFACES} ${LOCAL_IFACES}; do [all …]
|
H A D | virtual.chain | 64 # | |ether| | | |ether| |ether| |ether| | 73 # | |ether| | | |ether| | 177 # ngctl connect INTERFACE1: INTERFACE2: ether ether. 179 echo -n "Connecting ${PEER1_INTERFACE}:ether to ${PEER2_INTERFACE}:ether..." 180 ngctl connect ${PEER1_INTERFACE}: ${PEER2_INTERFACE}: ether ether \ 208 ngctl mkpeer eiface ether ether
|
H A D | virtual.lan | 62 # | |ether| | | |ether| | | |ether| | 201 ngctl mkpeer eiface ether ether 254 # Interface has one hook named 'ether' and below line connects 255 # ether hook to bridge's first unconnected link. 257 echo -n "Connecting ${EIFACE}:ether to ${BRIDGE_NAME}:link${LINKNUM}..." 258 ngctl connect ${EIFACE}: ${BRIDGE_NAME}: ether link${LINKNUM} \
|
/freebsd/share/man/man4/ |
H A D | ng_macfilter.4 | 45 .Dq ether 65 .Dv ether 88 u_char ether[ETHER_ADDR_LEN]; /* MAC address */ 97 u_char ether[ETHER_ADDR_LEN]; /* MAC address */ 107 u_char ether[ETHER_ADDR_LEN]; /* MAC address */ 156 \\----<ether>-[macfilter]-<accepted>-----/ 161 ngctl mkpeer em0: macfilter lower ether 164 # Funnel both streams back into ether:upper 179 # Pass traffic from ether:upper / combiner:one via combiner:many0 on to 180 # macfilter:default and on to ether:lower. [all …]
|
/freebsd/sys/netgraph/ |
H A D | ng_macfilter.c | 34 * This node type routes packets from the ether hook to either the default hook 371 macfilter_find_mac(macfilter_p mfp, const u_char *ether, u_int *ri) in macfilter_find_mac() argument 379 int d = bcmp(ether, mf_macs[middle].ether, ETHER_ADDR_LEN); in macfilter_find_mac() 404 macfilter_mactable_change(macfilter_p mfp, u_char *ether, int hookid) in macfilter_mactable_change() argument 407 int found = macfilter_find_mac(mfp, ether, &i); in macfilter_mactable_change() 411 …MACFILTER_DEBUG("ether=" MAC_FMT " found=%d i=%d ether=" MAC_FMT " hookid=%d->%d used=%d allocated… in macfilter_mactable_change() 412 MAC_S_ARGS(ether), found, i, MAC_S_ARGS(mf_macs[i].ether), in macfilter_mactable_change() 444 bcopy(ether, mf_macs[i].ether, ETHER_ADDR_LEN); in macfilter_mactable_change() 494 MACFILTER_DEBUG("ether=" MAC_FMT " hook=%s", in macfilter_direct() 495 MAC_S_ARGS(md->ether), md->hookname); in macfilter_direct() [all …]
|
H A D | ng_macfilter.h | 38 #define NG_MACFILTER_HOOK_ETHER "ether" /* connected to ether:lower */ 39 #define NG_MACFILTER_HOOK_DEFAULT "default" /* connected to ether:upper; upper[0] */ 40 /* Other hooks may be named freely connected to ether:upper; upper[1..n]*/ 58 u_char ether[ETHER_ADDR_LEN]; /* MAC address */ member 62 { "ether", &ng_parse_enaddr_type }, \ 69 u_char ether[ETHER_ADDR_LEN]; /* MAC address */ member 73 { "ether", &ng_parse_enaddr_type }, \ 80 u_char ether[ETHER_ADDR_LEN]; /* MAC address */ member 88 { "ether", &ng_parse_enaddr_type }, \
|
/freebsd/tests/sys/netinet/ |
H A D | forward.sh | 62 jail_mac=`jexec ${jname} ifconfig ${epair}b ether | awk '$1~/ether/{print$2}'` 64 our_mac=`ifconfig ${epair}a ether | awk '$1~/ether/{print$2}'` 119 jail_mac=`jexec ${jname} ifconfig ${epair}b ether | awk '$1~/ether/{print$2}'` 121 our_mac=`ifconfig ${epair}a ether | awk '$1~/ether/{print$2}'` 178 jail_mac=`jexec ${jname} ifconfig ${epair}b ether | awk '$1~/ether/{print$2}'` 180 our_mac=`ifconfig ${epair}a ether | awk '$1~/ether/{print$2}'` 233 jail_mac=`jexec ${jname} ifconfig ${epair}b ether | awk '$1~/ether/{print$2}'` 235 our_mac=`ifconfig ${epair}a ether | awk '$1~/ether/{print$2}'`
|
/freebsd/tests/sys/netinet6/ |
H A D | forward6.sh | 71 jail_mac=`jexec ${jname} ifconfig ${epair}b ether | awk '$1~/ether/{print$2}'` 73 our_mac=`ifconfig ${epair}a ether | awk '$1~/ether/{print$2}'` 142 jail_mac=`jexec ${jname} ifconfig ${epair}b ether | awk '$1~/ether/{print$2}'` 144 our_mac=`ifconfig ${epair}a ether | awk '$1~/ether/{print$2}'` 216 jail_mac=`jexec ${jname} ifconfig ${epair}b ether | awk '$1~/ether/{print$2}'` 218 our_mac=`ifconfig ${epair}a ether | awk '$1~/ether/{print$2}'` 290 jail_mac=`jexec ${jname} ifconfig ${epair}b ether | awk '$1~/ether/{print$2}'` 292 our_mac=`ifconfig ${epair}a ether | awk '$1~/ether/{print$2}'` 360 jail_mac=`jexec ${jname} ifconfig ${epair}b ether | awk '$1~/ether/{print$2}'` 362 our_mac=`ifconfig ${epair}a ether | awk '$1~/ether/{print$2}'` [all …]
|
H A D | proxy_ndp.sh | 51 proxy_mac=`jexec ${jname} ifconfig ${epair0}a ether | awk '$1~/ether/{print$2}'` 93 proxy_mac=`jexec ${jname} ifconfig ${epair0}a ether | awk '$1~/ether/{print$2}'` 140 proxy_mac=`jexec ${jname} ifconfig ${epair0}a ether | awk '$1~/ether/{print$2}'` 179 proxy_mac=`jexec ${jname_a} ifconfig ${epair0}a ether | awk '$1~/ether/{print$2}'`
|
H A D | scapyi386.py | 65 bcmac = sp.Ether(dst="ff:ff:ff:ff:ff:ff").dst 67 pkt = sp.Ether() / \ 73 eth = pkt.getlayer(sp.Ether) 75 print("No Ether in packet")
|
/freebsd/tests/sys/netgraph/ |
H A D | ng_macfilter_test.sh | 44 ifconfig -u -l ether | awk '{print $1}' 70 …ngctl mkpeer $eth: macfilter lower ether # Connect the lower hook of the ether instance $eth t… 72 …ngctl mkpeer $eth: one2many upper one # Connect the upper hook of the ether instance $eth to … 312 ether=$(genmac $j $i) 314 ngctl msg MF: 'direct' "{ hookname=\"$edge\" ether=$ether }" 336 ether=$(genmac 0 $i) 338 ngctl msg MF: 'direct' "{ hookname=\"$edge\" ether=$ether }" 361 ether=$(genmac $j $i) 363 ngctl msg MF: 'direct' "{ hookname=\"$edge\" ether=$ether }" 381 ether=$(genmac $j $i) [all …]
|
/freebsd/sbin/ipf/ipsend/ |
H A D | arp.c | 57 int arp(ip, ether) in arp() argument 59 char *ether; 69 if (arp_getipv4(ip, ether) == 0) 73 bcopy(ethersave, ether, 6); 83 if (!(ether_hostton(hp->h_name, (struct ether_addr *)ether))) 85 if (!(ether_hostton(hp->h_name, ether))) 124 bcopy(ar.arp_ha.sa_data, ether, 6); 126 bcopy(ether, ethersave, 6);
|
/freebsd/tests/sys/netpfil/common/ |
H A D | pft_ping.py | 102 ether = sp.Ether() 108 packets.append(ether / packet) 110 packets.append(ether / ip6 / icmp) 118 packets.append(ether / packet) 120 packets.append(ether / ip / icmp / raw) 129 ether = sp.Ether() 141 req = ether / ip / tcp 150 ether = sp.Ether() 159 packets.append(ether / packet) 161 packets.append(ether / ip6 / udp / raw) [all …]
|
/freebsd/contrib/libpcap/msdos/ |
H A D | pktdrvr.h | 85 ETHER destin; 86 ETHER source; 95 ETHER destin; /* E-net destination address */ 96 ETHER source; /* E-net source address */ 121 extern ETHER myAddress, ethBroadcast; 141 extern BOOL PktGetAddress (ETHER *addr); 142 extern BOOL PktSetAddress (const ETHER *addr);
|
/freebsd/contrib/libpcap/ |
H A D | pcap-filter.manmisc.in | 105 E.g., `\fBether src\fP foo', `\fBarp net\fP 128.3', `\fBtcp port\fP 21', 115 [\fBfddi\fP is actually an alias for \fBether\fP; the parser treats them 124 Similarly, \fBtr\fP and \fBwlan\fP are aliases for \fBether\fP; the previous 171 \fBether proto \\\fRip \fBand host \fIhostnameaddr\fR 176 .IP "\fBether dst \fIethernameaddr\fP" 183 .IP "\fBether src \fIethernameaddr\fP" 185 .IP "\fBether host \fIethernameaddr\fP" 199 \fBether host \fIethernameaddr \fBand not host \fIhostnameaddr\fR 376 .IP "\fBether broadcast\fR" 378 The \fBether\fP [all …]
|
/freebsd/usr.sbin/arp/ |
H A D | arp.4 | 35 .Cd "device ether" 50 .Va net.link.ether.inet.maxhold 99 .Va net.link.ether.inet.proxyall 103 .Va net.link.ether.inet 192 .Va net.link.ether.inet.log_arp_movements 206 .Va net.link.ether.inet.log_arp_wrong_iface 212 .Va net.link.ether.inet.log_arp_permanent_modify 217 .Va net.link.ether.inet.allow_multicast
|
/freebsd/tests/sys/netinet6/frag6/ |
H A D | frag6_14.py | 70 sp.Ether() / \ 76 sp.Ether() / \ 82 sp.Ether() / \ 88 sp.Ether() / \ 116 sp.Ether() / \ 122 sp.Ether() / \
|
/freebsd/sys/contrib/device-tree/Bindings/phy/ |
H A D | renesas,r8a779f0-ether-serdes.yaml | 4 $id: http://devicetree.org/schemas/phy/renesas,r8a779f0-ether-serdes.yaml# 14 const: renesas,r8a779f0-ether-serdes 48 compatible = "renesas,r8a779f0-ether-serdes";
|
/freebsd/libexec/nuageinit/tests/ |
H A D | nuageinit.sh | 131 mynetworks=$(ifconfig -l ether) 137 myaddr=$(ifconfig $myiface ether | awk '/ether/ { print $2 }') 289 mynetworks=$(ifconfig -l ether) 295 myaddr=$(ifconfig $myiface ether | awk '/ether/ { print $2 }') 355 mynetworks=$(ifconfig -l ether) 361 myaddr=$(ifconfig $myiface ether | awk '/ether/ { print $2 }')
|
/freebsd/sys/contrib/device-tree/src/arm/renesas/ |
H A D | r8a7743-sk-rzg1m.dts | 46 ether_pins: ether { 64 ðer { 69 renesas,ether-link-active-low;
|