Next: , Previous: bpipe_dpkt_setup, Up: Internal Functions   [Contents]


A.5.9 bpipe_dpktf_matrix_override_cmp

Compare a data packet field to a matrix override structure.

Synopsis

#include <bpipe/bpipe.h>

int bpipe_dpktf_matrix_override_cmp(
  const void *d,
  const void *m
);

Parameters

const void *d

name

const void *m

data packet field

Description

This routine compares a data packet field pointer to that in a matrix override structure.

Returns

It returns ‘-1’, ‘0’, ‘1’ if the pointer is respectively less than, equal to, or greater than that in the matrix override structure.