Redefine link and addr attribute types
netlink/constant.scm
54 | 54 | (cond | |
55 | 55 | #,@(map (lambda (s) (getter #'num s)) (spec-names #'(name-spec ...)))))))))) | |
56 | 56 | ||
57 | - | (define-enum int->attr-kind | |
57 | + | (define-enum int->link-attr-kind | |
58 | 58 | IFLA_UNSPEC IFLA_ADDRESS IFLA_BROADCAST IFLA_IFNAME IFLA_MTU | |
59 | 59 | IFLA_LINK IFLA_QDISC IFLA_STATS IFLA_COST IFLA_PRIORITY | |
60 | 60 | IFLA_MASTER IFLA_WIRELESS IFLA_PROTIFO IFLA_TXQLEN IFLA_MAP | |
… | |||
71 | 71 | IFLA_PROP_LIST IFLA_ALT_IFNAME IFLA_PERM_ADDRESS) | |
72 | 72 | (define-public IFLA_TARGET_NETNSID IFLA_IF_NETNSID) | |
73 | 73 | ||
74 | + | (define-enum int->addr-attr-kind | |
75 | + | IFA_UNSPEC IFA_ADDRESS IFA_LOCAL IFA_LABEL IFA_BROADCAST | |
76 | + | IFA_ANYCAST IFA_CACHEINFO IFA_MULTICAST IFA_FLAGS | |
77 | + | IFA_RT_PRIORITY IFA_TARGET_NETNSID) | |
78 | + | ||
74 | 79 | (define-public AF_NETLINK 16) | |
75 | 80 | (define-public AF_PACKET 17) | |
76 | 81 |