diff options
author | norly <ny-git@enpas.org> | 2019-02-24 04:35:59 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2019-02-24 04:35:59 +0100 |
commit | 8c73fd11fe9cac11ba2fdd657b84f845632af3d0 (patch) | |
tree | 103046069c53a18dce2a2b839ca1e132cc09172e /vw-bap.h | |
parent | 04795b52688dde6f4ad0284a633f5ffb4aec80e0 (diff) |
Rename BAP 'function' to 'port'
This is more generic, thus allowing for interpreting it as 'registers',
and easier to understand when coming from UDP/IP.
Diffstat (limited to 'vw-bap.h')
-rw-r--r-- | vw-bap.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -6,7 +6,7 @@ typedef unsigned char BAP_OpCode; typedef unsigned char BAP_Node; -typedef unsigned char BAP_Function; +typedef unsigned char BAP_Port; typedef unsigned short BAP_FrameLen; @@ -32,11 +32,11 @@ struct BAP_Frame { */ BAP_Node node; - /* The "RPC" function, or "status register" ID. + /* The "RPC" port, or "status register" ID. * - * BAP's equivalent of a "TCP port". + * BAP's equivalent of a "UDP port". */ - BAP_Function function; + BAP_Port port; /* Payload length, up to 2^12-1 = 4095 bytes. */ BAP_FrameLen len; |