• Arnaldo Carvalho de Melo's avatar
    o net: abstract access to struct sock ->flags · 4ea1f830
    Arnaldo Carvalho de Melo authored
    This makes:
    
    1. simpler primitive to access struct sock flags, shorter
    2. we check if the flag is valid by using enum sock_flags
    3. we can change the implementation to an open coded bit operations
       if it proves to be faster than the more general bit manipulation
       routines now used, i.e. we only have to change sock.h, not the
       whole net tree like now
    4ea1f830
tcp_output.c 44.5 KB