upipe/uprobe_uclock.h header reference

probe catching provide_request events asking for a uclock More

Header inclusion [link] 

Members [link] 

Type [link] 

Functions [link] 

Description [link] 

probe catching provide_request events asking for a uclock

Members detail [link] 

#define _UPIPE_UPROBE_UCLOCK_H_ [link] 

This macro is declared in upipe/uprobe_uclock.h source file, line 31.

[link] 

This struct is declared in upipe/uprobe_uclock.h source file, line 42.

FieldDescription
struct urefcount * refcount;pointer to refcount management structure
uint64_t (*uclock_now)(struct uclock *) ;function returning the current system time
uint64_t (*uclock_to_real)(struct uclock *, uint64_t ) ;function converting a system time to Epoch-based real time
uint64_t (*uclock_from_real)(struct uclock *, uint64_t ) ;function converting Epoch-based real time to system time

struct uprobe_uclock [link] 

This struct is declared in upipe/uprobe_uclock.h source file, line 46.

This struct is a super-set of the uprobe structure with additional local members.

FieldDescription
struct uclock * uclock;pointer to uclock to provide
struct uprobe uprobe;structure exported to modules

struct uprobe * uprobe_uclock_alloc(struct uprobe *next, struct uclock *uclock) [link] 

This function is declared in upipe/uprobe_uclock.h source file, line 79.

This function allocates a new uprobe_uclock structure.

Parameter list:

  • next: next probe to test if this one doesn't catch the event
  • uclock: uref manager to provide to pipes

The return value is pointer to uprobe, or NULL in case of error

void uprobe_uclock_clean(struct uprobe_uclock *uprobe_uclock) [link] 

This function is declared in upipe/uprobe_uclock.h source file, line 71.

This function cleans a uprobe_uclock structure.

Parameter list:

  • uprobe_uclock: structure to clean

struct uprobe * uprobe_uclock_init(struct uprobe_uclock *uprobe_uclock, struct uprobe *next, struct uclock *uclock) [link] 

This function is declared in upipe/uprobe_uclock.h source file, line 65.

This function initializes an already allocated uprobe_uclock structure.

Parameter list:

  • uprobe_uclock: pointer to the already allocated structure
  • next: next probe to test if this one doesn't catch the event
  • uclock: uref manager to provide to pipes

The return value is pointer to uprobe, or NULL in case of error

void uprobe_uclock_set(struct uprobe *uprobe, struct uclock *uclock) [link] 

This function is declared in upipe/uprobe_uclock.h source file, line 86.

This function changes the uclock set by this probe.

Parameter list:

  • uprobe: pointer to probe
  • uclock: new uref manager to provide to pipes

struct uprobe_uclock * uprobe_uclock_from_uprobe(struct uprobe *uprobe) [link] 

This function is for internal use only.

This function is declared in UPROBE_HELPER_UPROBE function like macro expansion, line 19 in upipe/uprobe_uclock.h source file, line 54.

This function returns the private uprobe_uclock structure.

Parameter list:

  • uprobe: public description structure of the probe

The return value is pointer to the private uprobe_uclock structure

struct uprobe * uprobe_uclock_to_uprobe(struct uprobe_uclock *s) [link] 

This function is for internal use only.

This function is declared in UPROBE_HELPER_UPROBE function like macro expansion, line 9 in upipe/uprobe_uclock.h source file, line 54.

This function returns the public uprobe structure.

Parameter list:

  • uprobe_uclock: pointer to the private uprobe_uclock structure

The return value is pointer to the public uprobe structure

Valid XHTML 1.0 StrictGenerated by cmassiot on Sun Dec 14 18:31:17 2025 using MkDoc