All Downloads are FREE. Search and download functionalities are using the official Maven repository.

es.tid.rsvp.objects.FlowLabelSenderTemplateIPv6 Maven / Gradle / Ivy

The newest version!
package es.tid.rsvp.objects;

/*
 * FIXME: TODO

-
RFC 2205                          RSVP                    September 1997


   A.10 SENDER_TEMPLATE Class

      SENDER_TEMPLATE class = 11.

      o    IPv4 SENDER_TEMPLATE object: Class = 11, C-Type = 1

           Definition same as IPv4/UDP FILTER_SPEC object.

      o    IPv6 SENDER_TEMPLATE object: Class = 11, C-Type = 2

           Definition same as IPv6/UDP FILTER_SPEC object.

      o    IPv6 Flow-label SENDER_TEMPLATE object: Class = 11, C-Type =
           3



 * 
 */

public class FlowLabelSenderTemplateIPv6 extends SenderTemplate{

	public FlowLabelSenderTemplateIPv6() {
		
		classNum = 11;
		cType = 3;
		
		
		
	}
	
public FlowLabelSenderTemplateIPv6(byte[] bytes, int offset){
	super(bytes,offset);
	decode();
	}
		
	/*	
    0             1              2             3
    +-------------+-------------+-------------+-------------+
    |       Length (bytes)      |  Class-Num  |   C-Type    |
    +-------------+-------------+-------------+-------------+
    |                                                       |
    //                  (Object contents)                   //
    |                                                       |
    +-------------+-------------+-------------+-------------+	
    
    */		
	


	@Override
	public void encode() {
		length = 4;
		bytes = new byte[length];
		encodeHeader();
	}


	@Override
	public void decode() {
		// FIXME
		
	}

	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy