• S
    nwfilter: add support for RAPR protocol · aea68ce9
    Stefan Berger 提交于
    This patch adds support for the RARP protocol. This may be needed due to
    qemu sending out a RARP packet (at least that's what it seems to want to
    do even though the protocol id is wrong) when migration finishes and
    we'd need a rule to let the packets pass.
    
    Unfortunately my installation of ebtables does not understand -p RARP
    and also seems to otherwise depend on strings in /etc/ethertype
    translated to protocol identifiers. Therefore I need to pass -p 0x8035
    for RARP. To generally get rid of the dependency of that file I switch
    all so far supported protocols to use their protocol identifier in the
    -p parameter rather than the string.
    
    I am also extending the schema and added a test case.
    
    changes from v1 to v2:
    - added test case into patch
    aea68ce9
nwfilter_ebiptables_driver.c 105.9 KB