code: func (svc *service) ipvsService() *ipvs.Service {
  	var flags ipvs.ServiceFlags
  	if svc.ventry.Persistence > 0 {
  		flags |= ipvs.SFPersistent
  	}
  	if svc.ventry.OnePacket {
  		flags |= ipvs.SFOnePacket
  	}
  	var ip net.IP
  	switch {
  	case svc.fwm > 0 && svc.af == seesaw.IPv4:
  		ip = net.IPv4zero
  	case svc.fwm > 0 && svc.af == seesaw.IPv6:
  		ip = net.IPv6zero
  	default:
  		ip = svc.ip.IP()
  	}
  	return &ipvs.Service{
  		Address:      ip,
  		Protocol:     ipvs.IPProto(svc.proto),
  		Port:         svc.port,
  		Scheduler:    svc.ventry.Scheduler.String(),
  		FirewallMark: svc.fwm,
  		Flags:        flags,
  		Timeout:      uint32(svc.ventry.Persistence),
  	}
  }
docs: // ipvsService returns an IPVS Service for the given service.