Ian Piumarta | 10 Apr 21:35

extensible parser

Folks,

I just added idst/function/jolt2 and idst/function/examples2 to the  
repository.  The subject line says the rest.  Documentation to follow  
soon.  It's experimental and certainly contains bugs.  Break it and/ 
or criticise it violently.

Cheers,
Ian

Cornelius Toole | 11 Apr 20:17

Re: extensible parser

Thanks for making this available.

I'm trying to build the tcp example under idst/function/examples2 and I'm missing the header file: sys/sockio.h . I'm building on an ubuntu box, but apt-file isn't giving me any info as to what package for which that file is included. Google isn't giving me anything useful either.  Where can I find that header?

It seems like sys/sockio.h is a header for the FreeBSD kernel source, but maybe those interfaces are provided in another header like sys/ioctl? I found a HP developer page alluding to that.

Thanks

On Thu, Apr 10, 2008 at 2:36 PM, Ian Piumarta <PIUMARTA-zY4eFNvK5D9If6P1QZMOBw@public.gmane.org> wrote:
Folks,

I just added idst/function/jolt2 and idst/function/examples2 to the repository.  The subject line says the rest.  Documentation to follow soon.  It's experimental and certainly contains bugs.  Break it and/or criticise it violently.

Cheers,
Ian





_______________________________________________
fonc mailing list
fonc-uVco7kAcSAQ@public.gmane.org
http://vpri.org/mailman/listinfo/fonc



--
Cornelius Toole, Jr.
Graduate Research Assistant
Louisiana State University
Center for Computation and Technology
mobile: 601.212.3045
<div>
<p>Thanks for making this available.<br><br>I'm trying to build the tcp example under idst/function/examples2 and I'm missing the header file: sys/sockio.h . I'm building on an ubuntu box, but apt-file isn't giving me any info as to what package for which that file is included. Google isn't giving me anything useful either.&nbsp; Where can I find that header?<br><br>It seems like sys/sockio.h is a header for the FreeBSD kernel source, but maybe those interfaces are provided in another header like sys/ioctl? I found a HP developer page alluding to that.<br><br>Thanks<br><br></p>
<div class="gmail_quote">On Thu, Apr 10, 2008 at 2:36 PM, Ian Piumarta &lt;<a href="mailto:PIUMARTA@..." target="_blank">PIUMARTA@...</a>&gt; wrote:<br><blockquote class="gmail_quote">

Folks,<br><br>
I just added idst/function/jolt2 and idst/function/examples2 to the repository. &nbsp;The subject line says the rest. &nbsp;Documentation to follow soon. &nbsp;It's experimental and certainly contains bugs. &nbsp;Break it and/or criticise it violently.<br><br>
Cheers,<br>
Ian<br><br><br><br><br><br>
_______________________________________________<br>
fonc mailing list<br><a href="mailto:fonc@..." target="_blank">fonc@...</a><br><a href="http://vpri.org/mailman/listinfo/fonc" target="_blank">http://vpri.org/mailman/listinfo/fonc</a><br>
</blockquote>
</div>
<br><br clear="all"><br>-- <br>Cornelius Toole, Jr.<br>Graduate Research Assistant<br>Louisiana State University<br>Center for Computation and Technology<br>mobile: 601.212.3045
</div>
Dan Amelang | 18 Apr 21:43

Re: extensible parser

On Fri, Apr 11, 2008 at 11:17 AM, Cornelius Toole
<cornelius.toole@...> wrote:
> Thanks for making this available.
>
> I'm trying to build the tcp example under idst/function/examples2 and I'm
> missing the header file: sys/sockio.h . I'm building on an ubuntu box, but
> apt-file isn't giving me any info as to what package for which that file is
> included. Google isn't giving me anything useful either.  Where can I find
> that header?
>
> It seems like sys/sockio.h is a header for the FreeBSD kernel source, but
> maybe those interfaces are provided in another header like sys/ioctl? I
> found a HP developer page alluding to that.

Hi Cornelius,

The code in NetworkPseudoInterface.st is not (meant to be?) portable.
It uses several BSD-specific features (SIOCAIFADDR, ifaliasreq). It
would take some work to get it to run on Linux (or Solaris, or...). It
shouldn't be that hard, though, there's very little to it.

Hope that helps,

Dan

Ian Piumarta | 18 Apr 23:46

Re: extensible parser

Thanks for bumping this -- I'd forgotten to reply.

On Apr 18, 2008, at 12:43 PM, Dan Amelang wrote:

> On Fri, Apr 11, 2008 at 11:17 AM, Cornelius Toole
> <cornelius.toole@...> wrote:
>> Thanks for making this available.
>>
>> I'm trying to build the tcp example under idst/function/examples2  
>> and I'm
>> missing the header file: sys/sockio.h . I'm building on an ubuntu  
>> box, but
>> apt-file isn't giving me any info as to what package for which  
>> that file is
>> included. Google isn't giving me anything useful either.  Where  
>> can I find
>> that header?
>>
>> It seems like sys/sockio.h is a header for the FreeBSD kernel  
>> source, but
>> maybe those interfaces are provided in another header like sys/ 
>> ioctl? I
>> found a HP developer page alluding to that.
>
> Hi Cornelius,
>
> The code in NetworkPseudoInterface.st is not (meant to be?) portable.

That's absolutely right.  I have zero experience with tunnelling and  
was under demo pressure to make something that worked.  Dan is  
certainly right about there being very little to a version for Linux  
or Solaris, unfortunately I can't even begin to guess what the 'very  
litte' might contain on those platforms.  Google was my primary  
source of information/inspiration when putting together the BSD-only  
version, and I suspect the code is probably even specific to Darwin.   
I'd love for someone who knows more about this than me to make the  
code portable, or to post versions of it that work on other platforms  
that I will integrate and commit.  Thanks!

Cheers,
Ian

Nathan Cain | 12 Apr 23:25

Re: extensible parser

Hello,

It is excellent to finally see the ometa work and the 'sodas' work 
coming together.  I think that the two together are an unstoppable force 
of nature, in some ways.

I notice that there is an arm backend for jolt2.  I work in embedded 
systems, and would love to be able to cross-compile 'extended language' 
code to a flat arm binary from a desktop pc.  What would be the best way 
to go about this?  If the resulting binary could be statically compiled 
to run from a fixed address, that would be ideal... but relocatable 
instruction subset would also be excellent.  Any hints in the right 
direction would be greatly appreciated.

Thanks,
--Nathan

Ian Piumarta wrote:
> Folks,
>
> I just added idst/function/jolt2 and idst/function/examples2 to the 
> repository.  The subject line says the rest.  Documentation to follow 
> soon.  It's experimental and certainly contains bugs.  Break it and/or 
> criticise it violently.
>
> Cheers,
> Ian
>
>
>
>
>
> _______________________________________________
> fonc mailing list
> fonc@...
> http://vpri.org/mailman/listinfo/fonc
>


Gmane