| 105 | |
| 106 | |
| 107 | class STUNMessageIntegrity(STUNGenericTlv): |
| 108 | name = "STUN Message Integrity" |
| 109 | |
| 110 | fields_desc = [ |
| 111 | XShortField("type", 0x0008), |
| 112 | ShortField("length", 20), |
| 113 | XNBytesField("hmac_sha1", 0, 20) |
| 114 | ] |
| 115 | |
| 116 | def post_build(self, pkt, pay): |
| 117 | pkt += pay |
| 118 | return pkt |
| 119 | |
| 120 | |
| 121 | class STUNPriority(STUNGenericTlv): |
nothing calls this directly
no test coverage detected
searching dependent graphs…