[email protected]
[Top] [All Lists]

PERFORCE change 114169 for review

Subject: PERFORCE change 114169 for review
From: Robert Watson
Date: Wed, 7 Feb 2007 11:22:31 GMT
http://perforce.freebsd.org/chv.cgi?CH=114169

Change 114169 by [email protected]_cinnamon on 2007/02/07 11:22:22

        Alphabetize.

Affected files ...

.. //depot/projects/zcopybpf/src/sys/net/bpf.c#17 edit
.. //depot/projects/zcopybpf/src/sys/net/bpf_zerocopy.h#6 edit

Differences ...

==== //depot/projects/zcopybpf/src/sys/net/bpf.c#17 (text+ko) ====

@@ -310,41 +310,41 @@
 }
 
 static int
-bpf_ioctl_rotate(struct thread *td, struct bpf_d *d, struct bpf_zbuf *bz)
+bpf_ioctl_getznext(struct thread *td, struct bpf_d *d, struct bpf_zbuf *bz)
 {
 
        if (d->bd_bufmode != BPF_BUFMODE_ZBUF)
                return (EOPNOTSUPP);
 #ifdef BPF_ZEROCOPY
-       return (bpf_zerocopy_ioctl_rotate(td, d, bz));
+       return (bpf_zerocopy_ioctl_getznext(td, d, bz));
 #else
-       panic("bpf_ioctl_rotate");
+       panic("bpf_ioctl_getznext");
 #endif
 }
 
 static int
-bpf_ioctl_getznext(struct thread *td, struct bpf_d *d, struct bpf_zbuf *bz)
+bpf_ioctl_getzmax(struct thread *td, struct bpf_d *d, size_t *i)
 {
 
        if (d->bd_bufmode != BPF_BUFMODE_ZBUF)
                return (EOPNOTSUPP);
 #ifdef BPF_ZEROCOPY
-       return (bpf_zerocopy_ioctl_getznext(td, d, bz));
+       return (bpf_zerocopy_ioctl_getzmax(td, d, i));
 #else
-       panic("bpf_ioctl_getznext");
+       panic("bpf_ioctl_getzmax");
 #endif
 }
 
 static int
-bpf_ioctl_getzmax(struct thread *td, struct bpf_d *d, size_t *i)
+bpf_ioctl_rotate(struct thread *td, struct bpf_d *d, struct bpf_zbuf *bz)
 {
 
        if (d->bd_bufmode != BPF_BUFMODE_ZBUF)
                return (EOPNOTSUPP);
 #ifdef BPF_ZEROCOPY
-       return (bpf_zerocopy_ioctl_getzmax(td, d, i));
+       return (bpf_zerocopy_ioctl_rotate(td, d, bz));
 #else
-       panic("bpf_ioctl_getzmax");
+       panic("bpf_ioctl_rotate");
 #endif
 }
 

==== //depot/projects/zcopybpf/src/sys/net/bpf_zerocopy.h#6 (text+ko) ====

@@ -51,10 +51,10 @@
            size_t *i);
 int    bpf_zerocopy_ioctl_getznext(struct thread *td, struct bpf_d *d,
            struct bpf_zbuf *bz);
+int    bpf_zerocopy_ioctl_rotate(struct thread *td, struct bpf_d *d,
+           struct bpf_zbuf *bz);
 int    bpf_zerocopy_ioctl_setzbuf(struct thread *td, struct bpf_d *d,
            struct bpf_zbuf *bz);
 int    bpf_zerocopy_uiomove(struct bpf_d *d, caddr_t buf, u_int len,
            struct uio *uio);
-int    bpf_zerocopy_ioctl_rotate(struct thread *td, struct bpf_d *d,
-           struct bpf_zbuf *bz);
 #endif /* !_NET_BPF_ZEROCOPY_H_ */
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/p4-projects
To unsubscribe, send any mail to "[email protected]"

<Prev in Thread] Current Thread [Next in Thread>
  • PERFORCE change 114169 for review, Robert Watson <=