SolarCapture C Bindings
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
misc.h
Go to the documentation of this file.
1 
8 #ifndef __SOLAR_CAPTURE_MISC_H__
9 #define __SOLAR_CAPTURE_MISC_H__
10 
11 
12 struct sc_session;
13 
14 
26 extern int sc_join_mcast_group(struct sc_session* scs, const char* interface,
27  const char* group);
28 
29 
30 #if SC_API_VER >= 1
31 
32 /* Do not call these functions directly. They are used indirectly via
33  * <solar_capture/declare_types.h>.
34  */
35 extern void sc_montype_constant(struct sc_session*, const char*, int);
36 extern void sc_montype_struct(struct sc_session*, const char*);
37 extern void sc_montype_field(struct sc_session*, const char*, const char*,
38  const char*, const char*);
39 extern void sc_montype_struct_end(struct sc_session*);
40 extern void sc_montype_flush(struct sc_session*);
42 #endif
43 
44 
45 #endif /* __SOLAR_CAPTURE_MISC_H__ */
46 
int sc_join_mcast_group(struct sc_session *scs, const char *interface, const char *group)
Join a multicast group.