Add change field in link message type
netlink/route/link.scm
38 | 38 | (+ 16 (apply + (map (lambda (d) (align (data-size d) 4)) attrs)))) | |
39 | 39 | (lambda (msg pos bv) | |
40 | 40 | (match msg | |
41 | - | (($ link-message-type family type index flags attrs) | |
41 | + | (($ link-message-type family type index flags change attrs) | |
42 | 42 | (bytevector-u16-set! bv pos family (native-endianness)) | |
43 | 43 | (bytevector-u16-set! bv (+ pos 2) type (native-endianness)) | |
44 | 44 | (bytevector-u32-set! bv (+ pos 4) index (native-endianness)) | |
45 | 45 | (bytevector-u32-set! bv (+ pos 8) flags (native-endianness)) | |
46 | + | (bytevector-u32-set! bv (+ pos 12) change (native-endianness)) | |
46 | 47 | (let loop ((attrs attrs) (pos (+ pos 16))) | |
47 | 48 | (match attrs | |
48 | 49 | ((attr attrs ...) | |
… | |||
53 | 54 | (type link-message-kind link-message-type-type) | |
54 | 55 | (index link-message-index link-message-type-index) | |
55 | 56 | (flags link-message-flags link-message-type-flags) | |
57 | + | (change link-message-change link-message-type-change) | |
56 | 58 | (attrs link-message-attrs link-message-type-attrs)) | |
57 | 59 | ||
58 | 60 | (define (deserialize-link-message decoder bv pos) | |
… | |||
61 | 63 | (bytevector-u16-ref bv (+ pos 2) (native-endianness)) | |
62 | 64 | (bytevector-u32-ref bv (+ pos 4) (native-endianness)) | |
63 | 65 | (bytevector-u32-ref bv (+ pos 8) (native-endianness)) | |
66 | + | (bytevector-u32-ref bv (+ pos 12) (native-endianness)) | |
64 | 67 | (let ((len (bytevector-length bv))) | |
65 | 68 | (let loop ((pos (+ pos 16)) (attrs '())) | |
66 | 69 | (if (>= pos len) |