Fix comment in transport_layer_addr_t
This commit is contained in:
@@ -208,14 +208,9 @@ typedef struct nsa_msg_t {
|
|||||||
} nsa_msg_t;
|
} nsa_msg_t;
|
||||||
|
|
||||||
typedef struct transport_layer_addr_s {
|
typedef struct transport_layer_addr_s {
|
||||||
/**
|
/** Transport Layer Address in bytes:
|
||||||
* Transport Layer Address as a bitstring:
|
* - 4 bytes for IPv4 (RFC 791), 16 bytes for IPv6 (RFC 2460),
|
||||||
* - 32 bits for IPv4 (RFC 791),
|
* - 20 bytes for both IPv4 and IPv6, with IPv4 in the first 4 bytes. */
|
||||||
* - 128 bits for IPv6 (RFC 2460),
|
|
||||||
* - 160 bits for both IPv4 and IPv6, with IPv4 in the first 32 bits.
|
|
||||||
* The S1AP/NGAP layer forwards this address (bitstring<1..160>)
|
|
||||||
* to S1-U/NG-U without interpreting it.
|
|
||||||
*/
|
|
||||||
uint8_t length;
|
uint8_t length;
|
||||||
/// Buffer: address in network byte order
|
/// Buffer: address in network byte order
|
||||||
uint8_t buffer[20];
|
uint8_t buffer[20];
|
||||||
|
|||||||
Reference in New Issue
Block a user