diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-06-15 15:44:51 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-03-26 21:06:23 +0100 |
commit | 1af20c3adc4dfef93de41d4fcd02f0aeb6bbfd4e (patch) | |
tree | d56286b07d210e783a1bc3e9d85fdb8be51f6b6a /parsenfsfh.c | |
parent | 176e182416d822df0f9d4695410479e8b17a07b3 (diff) | |
download | tcpdump-1af20c3adc4dfef93de41d4fcd02f0aeb6bbfd4e.tar.gz |
Add the ndo parameter to some functions
This parameter will be needed at the next step.
Diffstat (limited to 'parsenfsfh.c')
-rw-r--r-- | parsenfsfh.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/parsenfsfh.c b/parsenfsfh.c index 79648abe..a569b54b 100644 --- a/parsenfsfh.c +++ b/parsenfsfh.c @@ -77,11 +77,11 @@ #define FHT_HPUX9 11 #define FHT_BSD44 12 -static int is_UCX(const unsigned char *, u_int); +static int is_UCX(netdissect_options *, const unsigned char *, u_int); void -Parse_fh(const unsigned char *fh, u_int len, my_fsid *fsidp, - uint32_t *inop, +Parse_fh(netdissect_options *ndo, const unsigned char *fh, u_int len, + my_fsid *fsidp, uint32_t *inop, const char **osnamep, /* if non-NULL, return OS name here */ const char **fsnamep, /* if non-NULL, return server fs name here (for VMS) */ int ourself) /* true if file handle was generated on this host */ @@ -220,7 +220,7 @@ Parse_fh(const unsigned char *fh, u_int len, my_fsid *fsidp, } } else { - if (is_UCX(fhp, len)) { + if (is_UCX(ndo, fhp, len)) { fhtype = FHT_VMSUCX; } else { @@ -429,7 +429,7 @@ Parse_fh(const unsigned char *fh, u_int len, my_fsid *fsidp, * (3) followed by string of nulls */ static int -is_UCX(const unsigned char *fhp, u_int len) +is_UCX(netdissect_options *ndo, const unsigned char *fhp, u_int len) { u_int i; int seen_null = 0; |