• Gerrit Renker's avatar
    dccp: Integrate feature-negotiation insertion code · f8a644c0
    Gerrit Renker authored
    The patch implements insertion of feature negotiation at the server (listening
    and request socket) and the client (connecting socket).
    
    In dccp_insert_options(), several statements have been grouped together now
    to achieve (I hope) better efficiency by reducing the number of tests each
    packet has to go through:
     - Ack Vectors are sent if the packet is neither a Data or a Request packet;
     - a previous issue is corrected - feature negotiation options are allowed
       on DataAck packets (5.8).
    Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
    Acked-by: default avatarIan McDonald <ian.mcdonald@jandi.co.nz>
    f8a644c0
options.c 16.1 KB