// Given a complete Filter it generates the string form for Setfilter.
Given a complete Filter it generates the string form for Setfilter.
// Given a complete Filter it generates the string form for Setfilter .
func (f *Filter) String() string {
	return fmt.Sprintf("ip src %s and src port %d and dst %s and dst port %d",
		f.SrcIP.String(),
		f.SrcPort,
		f.DstIp.String(),
		f.DstPort)
}
func ( f * Filter ) String ( ) string { return fmt . Sprintf ( " " , f . SrcIP . String ( ) , f . SrcPort , f . DstIp . String ( ) , f . DstPort ) }
Given a complete Filter it generates the string form for Setfilter.
Given a complete Filter it generates the string form for Setfilter .