doc: correct orthography, word forms and missing/extraneous words
This commit is contained in:
@@ -278,7 +278,7 @@ int tlv_packet_parse_pdu(tlv_packet *m, uint16_t size) {
|
||||
|
||||
p = m->pdu;
|
||||
|
||||
/* extract ethernet header */
|
||||
/* extract Ethernet header */
|
||||
memcpy(&m->mac, p, ETH_ALEN);
|
||||
p += sizeof(struct ether_header);
|
||||
|
||||
|
||||
@@ -1517,7 +1517,7 @@ static int client_receive_message_udp(sd_event_source *s, int fd,
|
||||
expected_hlen = ETH_ALEN;
|
||||
expected_chaddr = (const struct ether_addr *) &client->mac_addr;
|
||||
} else {
|
||||
/* Non-ethernet links expect zero chaddr */
|
||||
/* Non-Ethernet links expect zero chaddr */
|
||||
expected_hlen = 0;
|
||||
expected_chaddr = &zero_mac;
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ static int lldp_build_tlv_packet(tlv_packet **ret) {
|
||||
.ether_type = htons(ETHERTYPE_LLDP),
|
||||
};
|
||||
|
||||
/* Append ethernet header */
|
||||
/* Append Ethernet header */
|
||||
memcpy(ðer.ether_dhost, lldp_dst, ETHER_ADDR_LEN);
|
||||
memcpy(ðer.ether_shost, &mac_addr, ETHER_ADDR_LEN);
|
||||
|
||||
|
||||
+2
-2
@@ -209,10 +209,10 @@ static void help(void) {
|
||||
" --network-ipvlan=INTERFACE\n"
|
||||
" Create a ipvlan network interface based on an\n"
|
||||
" existing network interface to the container\n"
|
||||
" -n --network-veth Add a virtual ethernet connection between host\n"
|
||||
" -n --network-veth Add a virtual Ethernet connection between host\n"
|
||||
" and container\n"
|
||||
" --network-bridge=INTERFACE\n"
|
||||
" Add a virtual ethernet connection between host\n"
|
||||
" Add a virtual Ethernet connection between host\n"
|
||||
" and container and add it to an existing bridge on\n"
|
||||
" the host\n"
|
||||
" -p --port=[PROTOCOL:]HOSTPORT[:CONTAINERPORT]\n"
|
||||
|
||||
@@ -378,7 +378,7 @@ int grow_machine_directory(void) {
|
||||
if (b.f_bavail > b.f_blocks / 3)
|
||||
return 0;
|
||||
|
||||
/* Calculate how much we are willing to add at maximum */
|
||||
/* Calculate how much we are willing to add at most */
|
||||
max_add = ((uint64_t) a.f_bavail * (uint64_t) a.f_bsize) - VAR_LIB_MACHINES_FREE_MIN;
|
||||
|
||||
/* Calculate the old size */
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
* http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
|
||||
*
|
||||
* Two character prefixes based on the type of interface:
|
||||
* en -- ethernet
|
||||
* en -- Ethernet
|
||||
* sl -- serial line IP (slip)
|
||||
* wl -- wlan
|
||||
* ww -- wwan
|
||||
@@ -53,17 +53,17 @@
|
||||
* exported.
|
||||
* The usual USB configuration == 1 and interface == 0 values are suppressed.
|
||||
*
|
||||
* PCI ethernet card with firmware index "1":
|
||||
* PCI Ethernet card with firmware index "1":
|
||||
* ID_NET_NAME_ONBOARD=eno1
|
||||
* ID_NET_NAME_ONBOARD_LABEL=Ethernet Port 1
|
||||
*
|
||||
* PCI ethernet card in hotplug slot with firmware index number:
|
||||
* PCI Ethernet card in hotplug slot with firmware index number:
|
||||
* /sys/devices/pci0000:00/0000:00:1c.3/0000:05:00.0/net/ens1
|
||||
* ID_NET_NAME_MAC=enx000000000466
|
||||
* ID_NET_NAME_PATH=enp5s0
|
||||
* ID_NET_NAME_SLOT=ens1
|
||||
*
|
||||
* PCI ethernet multi-function card with 2 ports:
|
||||
* PCI Ethernet multi-function card with 2 ports:
|
||||
* /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/enp2s0f0
|
||||
* ID_NET_NAME_MAC=enx78e7d1ea46da
|
||||
* ID_NET_NAME_PATH=enp2s0f0
|
||||
|
||||
Reference in New Issue
Block a user