blob: 06deb6ba4dda727e5c6e2c73c7ff2a8c21e6194b [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
2// Copyright (c) 2011, 2012 Open Networking Foundation
3// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
4// This library was generated by the LoxiGen Compiler.
5// See the file LICENSE.txt which should have been included in the source distribution
6
7// Automatically generated by LOXI from template of_interface.java
8// Do not modify
9
10package org.projectfloodlight.openflow.protocol;
11
12import org.projectfloodlight.openflow.protocol.*;
13import org.projectfloodlight.openflow.protocol.action.*;
14import org.projectfloodlight.openflow.protocol.actionid.*;
15import org.projectfloodlight.openflow.protocol.bsntlv.*;
16import org.projectfloodlight.openflow.protocol.errormsg.*;
17import org.projectfloodlight.openflow.protocol.meterband.*;
18import org.projectfloodlight.openflow.protocol.instruction.*;
19import org.projectfloodlight.openflow.protocol.instructionid.*;
20import org.projectfloodlight.openflow.protocol.match.*;
21import org.projectfloodlight.openflow.protocol.oxm.*;
22import org.projectfloodlight.openflow.protocol.queueprop.*;
23import org.projectfloodlight.openflow.types.*;
24import org.projectfloodlight.openflow.util.*;
25import org.projectfloodlight.openflow.exceptions.*;
26import org.jboss.netty.buffer.ChannelBuffer;
27
28public interface OFMatchV1 extends OFObject, Match {
29 int getWildcards();
30 OFPort getInPort();
31 MacAddress getEthSrc();
32 MacAddress getEthDst();
33 OFVlanVidMatch getVlanVid();
34 VlanPcp getVlanPcp();
35 EthType getEthType();
36 IpDscp getIpDscp();
37 IpProtocol getIpProto();
38 IPv4Address getIpv4Src();
39 IPv4Address getIpv4Dst();
40 TransportPort getTcpSrc();
41 TransportPort getTcpDst();
42 OFVersion getVersion();
43
44 void writeTo(ChannelBuffer channelBuffer);
45
46 Builder createBuilder();
47 public interface Builder extends Match.Builder {
48 OFMatchV1 build();
49 int getWildcards();
50 Builder setWildcards(int wildcards);
51 OFPort getInPort();
52 Builder setInPort(OFPort inPort);
53 MacAddress getEthSrc();
54 Builder setEthSrc(MacAddress ethSrc);
55 MacAddress getEthDst();
56 Builder setEthDst(MacAddress ethDst);
57 OFVlanVidMatch getVlanVid();
58 Builder setVlanVid(OFVlanVidMatch vlanVid);
59 VlanPcp getVlanPcp();
60 Builder setVlanPcp(VlanPcp vlanPcp);
61 EthType getEthType();
62 Builder setEthType(EthType ethType);
63 IpDscp getIpDscp();
64 Builder setIpDscp(IpDscp ipDscp);
65 IpProtocol getIpProto();
66 Builder setIpProto(IpProtocol ipProto);
67 IPv4Address getIpv4Src();
68 Builder setIpv4Src(IPv4Address ipv4Src);
69 IPv4Address getIpv4Dst();
70 Builder setIpv4Dst(IPv4Address ipv4Dst);
71 TransportPort getTcpSrc();
72 Builder setTcpSrc(TransportPort tcpSrc);
73 TransportPort getTcpDst();
74 Builder setTcpDst(TransportPort tcpDst);
75 OFVersion getVersion();
76 }
77}