mark match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

 what's the point of mask in the mark match?
 
 for example, i want to match anything marked from 1 (1b) to
 127 (1111111b), is it possible to do it using a mask?

 nfmark    mask    match
 1      &  127  =  1
 77     &  127  =  77

 i see no point in mask.
 could anyone explain the use of mask to match multiple nfmarks?

P.Krumins



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux