blob: 1d43ac99ca854610afb2f17556df63bd9c5da95d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
;; SPDX-FileCopyrightText: © 2024 Dominick Grift <dominick.grift@defensec.nl>
;; SPDX-License-Identifier: Unlicense
(block ephemeral
(portcon "dccp" (32768 60999) port_context)
(portcon "sctp" (32768 60999) port_context)
(portcon "tcp" (32768 60999) port_context)
(portcon "udp" (32768 60999) port_context)
(blockinherit .net.port.ephemeral.template))
(in net.port
(block ephemeral
(macro type ((type ARG1))
(typeattributeset typeattr ARG1))
(blockinherit .net.port.all_macro_template)
(typeattribute typeattr)
(call .net.port.type (typeattr))
(block base_template
(blockabstract base_template)
(blockinherit .net.port.base_template)
(call .net.port.ephemeral.type (port)))
(block template
(blockabstract template)
(blockinherit .net.port.ephemeral.base_template)
(blockinherit .net.port.macro_template))))
|