Lines Matching +full:ethernet +full:- +full:port

95 .Bd -literal -offset indent
97 char sa_data[] /* socket address (variable-length data) */
113 .Bl -column -offset indent ".Sy Socket Structure" ".Sy Address Family"
139 .Bd -literal -offset indent
156 and cast to the appropriate family-specific structure type based on the
165 .Bd -literal -offset indent
167 in_port_t sin_port /* IP port */
181 describe the IP address and IP port to use.
184 these represent the remote IP address and port to which the connection
188 these represent the IP address and port on the local host to which the socket
192 these represent the remote IP address and port of the machine whose
214 network byte-order.
241 .Bd -literal -offset indent
243 in_port_t sin6_port /* IPv6 port */
266 describes the IPv6 port and should be manipulated with the functions
272 describes the 16-byte IPv6 address.
309 .Bd -literal -offset indent
329 structure is used to describe a layer 2 link-level address.
333 .Bd -literal -offset indent
349 is non-zero this refers to the interface identifier that corresponds to
358 The most common case is that the medium for the interface is Ethernet which has
375 the link-layer network address.
385 The link-layer network address begins immediately after the interface name,
391 returns the start of the link-layer network address.
392 The interpretation of the link-layer address depends on the value of
396 then the address is expressed as a 6-byte MAC address.
404 It is generally designed for use with Ethernet networks.
408 .Bd -literal -offset indent
424 refers to a link-layer protocol.
425 For example, when capturing Ethernet frames the value of
455 a packet that was broadcast across the link-layer;
457 a packet that was sent to a link-layer multicast address; and
481 on port 80.
486 .Ic cc ip4.c -lsocket -lnsl .
487 .Bd -literal
532 to bind to the local IPv6 address ::1 port on port 12345.
537 .Ic cc ip6.c -lsocket -lnsl .
538 .Bd -literal