File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
src/main/java/com/cisco/trex/stateless/model/capture Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 55
66@ JsonIgnoreProperties (ignoreUnknown = true )
77public class CaptureFilter {
8-
8+
99 @ JsonProperty ("rx" )
1010 private int rxPortMask ;
11-
11+
1212 @ JsonProperty ("tx" )
1313 private int txPortMask ;
1414
15+ @ JsonProperty ("bpf" )
16+ private String bpfFilter ;
17+
1518 @ JsonProperty ("rx" )
1619 public int getRxPortMask () {
1720 return rxPortMask ;
@@ -31,4 +34,16 @@ public int getTxPortMask() {
3134 public void setTxPortMask (int txPortMask ) {
3235 this .txPortMask = txPortMask ;
3336 }
37+
38+
39+ @ JsonProperty ("bpf" )
40+ public String getBpfFilter () {
41+ return this .bpfFilter ;
42+ }
43+
44+ @ JsonProperty ("bpf" )
45+ public void setBpfFilter (String bpfFilter ) {
46+ this .bpfFilter = bpfFilter ;
47+ }
48+
3449}
You can’t perform that action at this time.
0 commit comments