close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Changes between Version 2 and Version 3 of Proto/cModules/b0GNRS/a0NetworkProtocol2


Ignore:
Timestamp:
Sep 25, 2015, 3:33:54 PM (9 years ago)
Author:
sujasrinivasan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Proto/cModules/b0GNRS/a0NetworkProtocol2

    v2 v3  
    126126~                                                             ~
    127127+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    128 ~                                                             ~
    129128|                      Number of Types                        |
    130 ~                                                             ~
    131 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    132 ~                                                             ~
    133 |                       Type#1                                |
    134 ~                                                             ~
     129+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     130|                          Type#1                             |
    135131...............................................................
    136 ~                                                             ~
    137 |                       Type#n                                |
    138 ~                                                             ~
     132|                          Type#n                             |
    139133+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    140134</pre>
     
    160154~                                                             ~
    161155+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    162 |                           Size (S)                          |
    163 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ---+
    164 |                             |                               |    |
    165 |        Address Type         |        Address Length         |    |
    166 |                             |                               |    |
    167 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+    |Entry#1
    168 ~                                                             ~    |
    169 |                      Network Address #1                     |    |
     156|                      Number of Bindings                     |
     157+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ---+
     158|          Type               |        Number of values       |    |
     159+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+    |
     160|       Length of values      |       Length of options       |    |
     161+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+    |
     162~                                                             ~    |
     163|                           Values                            |    |Entry #1
     164~                                                             ~    |
     165+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+    |
     166~                                                             ~    |
     167|                        Local options                        |    |
    170168~                                                             ~    |
    171169+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ---+
     
    175173|.............................................................|
    176174~                                                             ~
    177 |                          Entry #S                           |
     175|                          Entry #n                           |
    178176~                                                             ~
    179177+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     
    182180
    183181* '''GUID''' - The GUID value being !inserted/updated.
    184 * '''Size''' - The number of entries in the !insert/update message.
    185 * '''Entry''' - A Network Address as defined above.
     182* '''Number of Bindings''' - Number of bindings being inserted/updated.
     183* '''Entry''' - Binding of a type
     184* '''Type''' - Type of the binding
     185* '''Number of values''' - Number of values of the type
     186* '''Length of values''' - Length of values.
     187* '''Length of options''' - Length of local options.
     188* '''Values''' - The values of the type. Parsing will be according to the type (e.g. Network Address).
     189* '''Local Options''' - The options associated with the values.
     190
    186191
    187192== Response Messages ==
     
    2382430             1               2               3                 Octet
    239244+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    240 |                           Size (S)                          |
    241 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ---+
    242 |        Address Type         |        Address Length         |    |
    243 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+    |Entry#1
    244 ~                                                             ~    |
    245 |                      Network Address #1                     |    |
     245|                      Number of Bindings                     |
     246+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ---+
     247|           Type              |        No of Values           |    |
     248+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+    |
     249|         Length of value     |        Length of options      |    |
     250+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+    |
     251~                                                             ~    |
     252|                           Values                            |    |Entry #1
     253~                                                             ~    |
     254+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+    |
     255~                                                             ~    |
     256|                        Local options                        |    |
    246257~                                                             ~    |
    247258+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ---+
     
    251262|.............................................................|
    252263~                                                             ~
    253 |                          Entry #S                           |
    254 ~                                                             ~
    255 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    256 </pre>
    257 }}}
    258 
    259 * '''Size''' - The number of entries in the !insert/update message.
    260 * '''Entry''' - A Network Address as defined above.
     264|                          Entry #n                           |
     265~                                                             ~
     266+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     267</pre>
     268}}}
     269
     270* '''GUID''' - The GUID value being !inserted/updated.
     271* '''Number of Bindings''' - Number of bindings in the response
     272* '''Entry''' - Binding of a type
     273* '''Type''' - Type of the binding
     274* '''Number of values''' - Number of values of the type
     275* '''Length of values''' - Length of values.
     276* '''Length of options''' - Length of local options.
     277* '''Values''' - The values of the type. Parsing will be according to the type (e.g. Network Address).
     278* '''Local Options''' - The options associated with the values
    261279
    262280=== !Insert/Update Response ===