search for: ssh2_fxe_extattr_rdev

Displaying 1 result from an estimated 1 matches for "ssh2_fxe_extattr_rdev".

Did you mean: ssh2_fxe_extattr_dev
2009 Feb 12
2
[patch 1/3] add protocol extension to ATTR message
...>ext_flags |= SSH2_FXE_EXTATTR_DEV; + a->dev = st->st_dev; + a->ext_flags |= SSH2_FXE_EXTATTR_INO; + a->ino = st->st_ino; + a->ext_flags |= SSH2_FXE_EXTATTR_NLINK; + a->nlink = st->st_nlink; + if (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode)) { + a->ext_flags |= SSH2_FXE_EXTATTR_RDEV; + a->rdev = st->st_rdev; + } + a->ext_flags |= SSH2_FXE_EXTATTR_BLKSIZE; + a->blksize = st->st_blksize; + a->ext_flags |= SSH2_FXE_EXTATTR_BLOCKS; + a->blocks = st->st_blocks; } /* Convert from filexfer attribs to struct stat */ @@ -87,10 +123,62 @@ attrib_to_stat(cons...