Yukarıdaki kodlarda mantık hatası var. Hepsi isimli input bir adet olmasına rağmen each fonksiyonuyla döngüyle sokmaya çalışıyorsunuz. Aşağıdaki kod işinizi görecektir.

Demo : http://jsfiddle.net/V9X3n/

jQuery Library
//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
jQuery:
$(function () {
	$("#hepsi").click(function () {
		$("input[name^=tip_]").prop("checked", $(this).prop("checked"));
	});
});
HTML
<input type="checkbox" name="hepsi" id="hepsi" /> Tümünü Seç
<br /><br />
<input type="checkbox" name="tip_1" value="1" />
<br />
<input type="checkbox" name="tip_2" value="2" />
<br />
<input type="checkbox" name="tip_3" value="3" />