Casper Andersson

Results 11 comments of Casper Andersson

> So I think this library would need to know about when leap seconds occured to provide the correct behavior. The Time Zone Database in Linux provides two files, `/usr/share/timezone/leapseconds`...

> None of the existing tests cover the bug, correct? Correct. There are no management packets in any of the tests. Should I add a test for it?

Added a test for it. As I mention in the commit message, the management packets contains a TLV at the end that Tcpdump does not support yet. I don't see...

Wait, I'm stupid. Don't merge yet. The `bp` needs to be updated for all the fields at the end as well...

There we go, now it should be correct. Apologies for the confusion.

I suppose we could have some flag (new or maybe some existing that fits) for the PRP trailer (and potentially other protocols that could mismatch. Not that I can think...

> Does `ether proto 0x892f` as the filter match the packets you expect? Yes that matches all HSR tagged packets. I meant if I want to filter on HSR tagged...

Yes. Take your time. I haven't started any libpcap work.

> What is the reason for these consecutive commas? > > ``` > port id : 65535, , start boundary hops 3, , boundary hops 3, , flags 0x0, ,...