equal
deleted
inserted
replaced
366 Rtt uint32 |
366 Rtt uint32 |
367 Rttvar uint32 |
367 Rttvar uint32 |
368 Pad uint32 |
368 Pad uint32 |
369 } |
369 } |
370 |
370 |
371 type Mclpool struct{} |
|
372 |
|
373 const ( |
371 const ( |
374 SizeofBpfVersion = 0x4 |
372 SizeofBpfVersion = 0x4 |
375 SizeofBpfStat = 0x8 |
373 SizeofBpfStat = 0x8 |
376 SizeofBpfProgram = 0x10 |
374 SizeofBpfProgram = 0x10 |
377 SizeofBpfInsn = 0x8 |
375 SizeofBpfInsn = 0x8 |
378 SizeofBpfHdr = 0x14 |
376 SizeofBpfHdr = 0x18 |
379 ) |
377 ) |
380 |
378 |
381 type BpfVersion struct { |
379 type BpfVersion struct { |
382 Major uint16 |
380 Major uint16 |
383 Minor uint16 |
381 Minor uint16 |
403 type BpfHdr struct { |
401 type BpfHdr struct { |
404 Tstamp BpfTimeval |
402 Tstamp BpfTimeval |
405 Caplen uint32 |
403 Caplen uint32 |
406 Datalen uint32 |
404 Datalen uint32 |
407 Hdrlen uint16 |
405 Hdrlen uint16 |
408 _ [2]byte |
406 Ifidx uint16 |
|
407 Flowid uint16 |
|
408 Flags uint8 |
|
409 Drops uint8 |
409 } |
410 } |
410 |
411 |
411 type BpfTimeval struct { |
412 type BpfTimeval struct { |
412 Sec uint32 |
413 Sec uint32 |
413 Usec uint32 |
414 Usec uint32 |