Sponsored Content
Top Forums UNIX for Advanced & Expert Users How do I interface with pf in a C/C++ application? Post 302951388 by nactusberrilli on Wednesday 5th of August 2015 10:36:44 PM
Old 08-05-2015
How do I interface with pf in a C/C++ application?

I'd like to write a simple GUI C/C++ application (a simple interface) where the user can perform a few pf operations and also receive pf feedback (instead of using the pfctl command). I was hoping to get some guidance in regards to where to get started. The pf suggests the use of the ioctl interface . I can see a bunch of constants that start with "DIOC". A quick example or a tutorial on how to get started developing with pf would be more than appreciated. Thanks.
 

3 More Discussions You Might Find Interesting

1. Solaris

Command line Interface or GUI Interface not shown on solaris

Dear all, I am a newbie in solaris and I need your advice. I have a Solaris version 5.9 installed on Sunfire V240. I am able to ssh the machine from putty remotely. My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies

2. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

3. IP Networking

Need a bridge from an ethernet interface to a serial interface

This is my situation DOS pc serial cable (sl0) Linux Pc eth1 192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router) I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface. ... (3 Replies)
Discussion started by: mghis
3 Replies
GABEDIT(1)							    User Manual 							GABEDIT(1)

NAME
gabedit - graphical user interface (GUI) to computational chemistry packages SYNOPSIS
gabedit [filename] DESCRIPTION
gabedit is a graphical user interface (GUI) to computational chemistry (Ab Initio) packages like: GAMESS-US, Gaussian, Molcas, Molpro, MPQC, Q-Chem, that can help to generate keywords and options, molecule specifications and the input sections for even the most advanced calculation types. Included is an advanced "Molecule Builder" to rapidly sketch in molecules and examine them in three dimensions. It can further display a variety calculation results (molecular orbitals; surfaces from the electron density, electrostatic potential, NMR shielding density; IR and Raman computed spectra; ...). Most major molecular file formats are supported. Exporting of a variety of file formats, like Poyray, BMP, JPEG, PNG, PPM and PS, is available. Even a series of pictures for animation (vibration, geometry convergence, rotation, contours, planes color-coded) can be automatically generated. OPTIONS
There are no command line options to use. SEE ALSO
mpqc(1) Documentation (manual and tutorials) is available online at the projects homepage at http://gabedit.sourceforge.net. AUTHORS
Abdul-Rahman Allouche <allouchear@users.sourceforge.net> Program author. Daniel Leidert <daniel.leidert@wgdd.de> Man-page author for the Debian system. gabedit 01/2009 GABEDIT(1)
All times are GMT -4. The time now is 08:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy