1 Type hb: HBytes_Value @
2 Init hb hbytes_sentinel(&@);
5 Init hbv @.hb=0; init_somethingv(&@.sth);
6 Fini hbv fini_somethingv(ip, rc, &@.sth);
8 Type maskmapv: MaskMap_Var @
9 Init maskmapv @.mm=0; init_somethingv(&@.sth);
10 Fini maskmapv fini_somethingv(ip, rc, &@.sth);
12 Type sockaddr: SockAddr_Value @
13 Init sockaddr sockaddr_clear(&@);
15 Type iddata(IdDataTable *tab): void *@
16 Type ulong: uint32_t @
18 Type string: const char *@
20 Type charfrom(const char *opts, const char *what): int
24 Table toplevel TopLevel_Command
26 subcmd enum(HBytes_SubCommand, "hbytes subcommand")
29 subcmd enum(DgramSocket_SubCommand,"dgram-socket subcommand")
32 subcmd enum(TunSocket_SubCommand,"tuntap-socket-raw subcommand")
35 subcmd enum(ULong_SubCommand,"ulong subcommand")
38 subcmd enum(MaskMap_SubCommand, "hbytes mask-map subcommand")
41 Table maskmap MaskMap_SubCommand
53 Table ulong ULong_SubCommand
81 right charfrom("lr", "shift direction")
94 Table hbytes HBytes_SubCommand
163 op enum(PadOp, "hbytes pad subcommand")
166 meth enum(PadMethodInfo, "pad method")
169 op enum(BlockCipherOp, "op")
172 alg enum(HashAlgInfo, "hash alg")
176 alg enum(HashAlgInfo, "hash alg for hmac")
182 prop enum(HashAlgPropInfo, "prop")
183 alg enum(HashAlgInfo, "alg")
186 Table padmethodinfo PadMethodInfo
193 Table dgram_socket DgramSocket_SubCommand
196 => iddata(&dgram_socks)
198 sock iddata(&dgram_socks)
200 sock iddata(&dgram_socks)
204 sock iddata(&dgram_socks)
207 Table tuntap_socket_raw TunSocket_SubCommand
210 => iddata(&tuntap_socks)
212 sock iddata(&tuntap_socks)
214 sock iddata(&tuntap_socks)
217 sock iddata(&tuntap_socks)
220 sock iddata(&tuntap_socks)
224 Table blockcipherop BlockCipherOp
227 alg enum(BlockCipherAlgInfo, "alg")
229 mode enum(BlockCipherModeInfo, "mode")
234 alg enum(BlockCipherAlgInfo, "alg")
236 mode enum(BlockCipherModeInfo, "mode")
241 alg enum(BlockCipherAlgInfo, "alg")
243 mode enum(BlockCipherModeInfo, "mode")
247 prop enum(BlockCipherPropInfo, "prop")
248 alg enum(BlockCipherAlgInfo, "alg")
251 EntryExtra BlockCipherOp