// generateVethPair returns a veth pair.
generateVethPair returns a veth pair.
// generateVethPair returns a veth pair .
func generateVethPair() (string, string, error) {
	entropy := make([]byte, 4)
	_, err := rand.Reader.Read(entropy)
	if err != nil {
		return "", "", fmt.Errorf("failed to generate random veth name: %v", err)
	}
	return fmt.Sprintf("veth%x", entropy), fmt.Sprintf("ceth%x", entropy), nil
}
func generateVethPair ( ) ( string , string , error ) { entropy := make ( [ ] byte , 4 ) _ , err := rand . Reader . Read ( entropy ) if err != nil { return " " , " " , fmt . Errorf ( " " , err ) } return fmt . Sprintf ( " " , entropy ) , fmt . Sprintf ( " " , entropy ) , nil }
generateVethPair returns a veth pair.
generateVethPair returns a veth pair .